One more "export" question
If there is
Code:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" Code:
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" |
Yes, as long as it isn't modified between the original two lines.
|
How's that? Is wasn't one line originally after installation.
|
Quote:
|
I agree its not a clear qn, but the point byannoni was making/hinting at is that several files are called during a login process and any/all(!) of them can set/rest env vars, including PATH.
Files include (but are not limited to) /etc/profile (&/or see /etc/profile.d) /etc/bashrc .bashrc .bash_profile 'not limited to' means that they can all call other files which can set env vars ... |
All times are GMT -5. The time now is 02:01 AM. |