Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] RHEL - modify system path with script in profile.d -



> Hello Dan,
> ?  You hit the nail on the head..
> ?  My test user and my customer were using the tcsh..
> ?  I changed my test user to bash and it worked.
> 
> 
> ?  I am more adapt to just convert my user to bash..
> 
> ?  I would like to insert a .csh ..script? but I'm not sure ..
> 
> I guessed with this and it did not work..? ? ? Thank you for your time..!!
> 
> [root at saeij11 profile.d]# more addpath.csh
> setenv PATH=$PATH:/usr/local/sratoolkit.2.1.7-centos_linux64
> export PATH
> [root at saeij11 profile.d]#
> 

I believe the csh version would be just:

setenv PATH $PATH:/your/addition

(no equal sign, and setenv takes care of the 'export')

-Dan




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org