On 12/15/2009 2:57 PM, Pete Helgren wrote:
When I run 'echo $PATH' from within QSHELL, where is it getting the path
variable contents from? I *thought* it was an environment variable but
after changing the PATH environment variable it made no difference so it
must be lurking somewhere else. Where is that set?

When you start QSH, the system automatically runs the shell script '.profile' in your home directory.

If this script has a statement like: export PATH=$PATH:~/bin, that will modify the path.

I _think_ the default path is set in a script created in the /etc directory, but I can't find it

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.