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

Ed Wilts <[email protected]>
Newsgroups gmane.linux.redhat.taroon
Organization (ewilts)
Message-ID <[email protected]>
On Wed, Sep 10, 2003 at 09:20:47AM -0700, Douglas Phillipson wrote:
> 
> Path is such a basic environment, it would be nice to have a 
> /etc/defaultpath file where all paths are on a separate line and all 
> shells would first consult this file.  Perhaps even a 
> /etc/defaultrootpath /etc/defaultuserpath.  There are probably 20 good 
> reasons this isn't a good idea, though I don't know what they are.

The biggest reason is that every shell would have to be modified to
consult this file.  One thing that could potentially happen (and you
could write it yourself) is to modify the login script to read the file
and update the path variable accordingly.

In my experience, very few shells are actually in common use.  I'll
venture a guess that on the vast majority of Linux systems, bash is the
only interactive shell that's used.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[email protected]
Member #1, Red Hat Community Ambassador Program


--
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.