Thank you Dan

Stephen Goldman
System Administrator
Department of Biology
Massachusetts Institute of Technology
31 Ames Street, 68-316e
Cambridge, Ma. 02139
617-452-2595- sgold...@mit.edu
----- Original Message ----- From: "Dan Kressin" <dkres...@yahoo.com>
To: "stephen goldman" <sgold...@mit.edu>
Cc: "BLU Discuss" <discuss@blu.org>
Sent: Sunday, November 20, 2011 9:57 AM
Subject: Re: [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@saeij11 profile.d]# more addpath.csh
setenv PATH=$PATH:/usr/local/sratoolkit.2.1.7-centos_linux64
export PATH
[root@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


_______________________________________________
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to