LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   convert sh command to tcsh (https://www.linuxquestions.org/questions/linux-newbie-8/convert-sh-command-to-tcsh-628614/)

pru 03-17-2008 05:39 AM

convert sh command to tcsh
 
Hi all!
How do I convert the following sh command:

export PATH=$ROOTSYS/bin:$PATH

into a tcsh one?
after reading man csh my guess was

setenv PATH ${ROOTSYS/bin}:${PATH} but it doesn't seem to be correct.

Thanks!

devnull0 03-17-2008 07:44 AM

Maybe try
Code:

setenv PATH ${ROOTSYS}/bin:${PATH}


All times are GMT -5. The time now is 11:43 AM.