Re: Where is a good reference for setting PATH in all the various shells

Claus Rasmussen <[email protected]>
Newsgroups gmane.linux.redhat.taroon
Organization SurfRay
Message-ID <[email protected]>
On Tuesday 09 September 2003 22:43, Douglas Phillipson wrote:

> Where might I find a good reference for setting the path variable in all
> the different shells?  

You can edit /etc/profile file for the sh/ash/bash/ksh/zsh/whatever shells 
(but not csh/tcsh), although a better idea would be to put a pair of scripts 
into the /etc/profile.d directory. By placing scripts in the /etc/profile.d 
directory your customizations is secure from being overwritten by future 
system updates.


> Why isn't there a single file that all shells
> consult for common information like a default path?  Probably a dumb
> question...

The sh family of shells and the csh family have quite different syntax for 
assigning environment variables.

	-Claus


--
Taroon-beta-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/taroon-beta-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.