Am Di, den 22.03.2005 schrieb Vaneet Sharma um 17:48: > : command not found > : command not found > 'bash: /etc/profile: line 6: syntax error near unexpected token `{ > 'bash: /etc/profile: line 6: `pathmunge () { > > > I am attaching the profile file. > > Well, I was trying to set JAVA_HOME > Vaneet You $PATH variable is already made broken by you? echo $PATH I suggest you add the JAVA_HOME with a profile script like this: $ cat /etc/profile.d/java.sh JAVA_VERSION="j2re1.4.2_04" if [ -d /usr/java/${JAVA_VERSION} ]; then export JAVA_HOME="/usr/java/${JAVA_VERSION}" export JAVA_PATH="${JAVA_HOME}" export PATH="$PATH:${JAVA_HOME}/bin" fi For csh as your shell do it accordingly. Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp Serendipity 20:46:10 up 5 days, 18:42, load average: 0.41, 0.56, 0.52 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.caosity.org/pipermail/centos/attachments/20050322/23f52855/attachment.bin