: 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 But got this bug. This is beyond my understanding. Any help will be appreciated. Thankx. Vaneet Vaneet Sharma executive manager iDeasTank Limited an iwg business dolphins'' court po 388 valletta, m-malta/europe mobile: +356 9943 8263 skype: CALLVANEET fax: +356 9952 8888 phone: +356 9942 8888 vaneet@iwg.info call me on www.skype.com - my ID is CALLVANEET Want a signature like this? - www.plaxo.com\signature iwg is a global e-mobile company creating, building and growing new businesses. iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US. www.iWG.info www.countryprofiler.com/iWG www.visitmalta.com www.mfc.com.mt Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.caosity.org/pipermail/centos/attachments/20050322/0b34cf43/attachment.htm
Not sure if its just me, but cant see an attachment (possible somethings stripped it out though). On Tue, 22 Mar 2005 17:48:54 +0100, Vaneet Sharma <vaneet@iwg.info> wrote:> > > : 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 > > But got this bug. > > This is beyond my understanding. > > Any help will be appreciated. > > Thankx. > Vaneet > Vaneet Sharma > executive manager iDeasTank Limited > an iwg business > dolphins'' court po 388 > valletta, m-malta/europe > vaneet@iwg.info > call me on www.skype.com - my ID is CALLVANEET > > mobile: > +356 9943 8263 > skype: CALLVANEET > fax: +356 9952 8888 > phone: +356 9942 8888 > Want a signature like this? > > > iwg is a global e-mobile company creating, building and growing new > businesses. iwg founders are pioneers in creating multi-billion dollar > mobile and Internet businesses in Europe, Asia and the US. > > www.iWG.info > www.countryprofiler.com/iWG > www.visitmalta.com > www.mfc.com.mt > Privileged/Confidential Information may be contained in this message. If > you are not the addressee indicated in this message (or responsible for > delivery of the message to such person), you may not copy or deliver this > message to anyone. In such case, you should destroy this message and kindly > notify the sender by reply email. > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos > > >
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> VaneetYou $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
Hello, You mean Copy the following in my profile FILE " $ 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 " Anything else, I am new to linux. Thankx for ur help vaneet -----Original Message----- From: centos-bounces@caosity.org [mailto:centos-bounces@caosity.org] On Behalf Of Alexander Dalloz Sent: Tuesday, March 22, 2005 8:49 PM To: CentOS discussion and information list Subject: Re: [Centos] Any help 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> VaneetYou $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 Vaneet Sharma executive manager iDeasTank Limited an iwg business dolphins'' court po 388 valletta, m-malta/europe mobile: +356 9943 8263 skype: CALLVANEET fax: +356 9952 8888 phone: +356 9942 8888 vaneet@iwg.info call me on www.skype.com - my ID is CALLVANEET Want a signature like this? - www.plaxo.com\signature iwg is a global e-mobile company creating, building and growing new businesses. iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US. www.iWG.info www.countryprofiler.com/iWG www.visitmalta.com www.mfc.com.mt Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.