export PATH not in ~/.profile
Asked by
Dony Thomas
Hi
I'm new to linux and I'm wondering why export PATH is not in ~/.profile
my ~/.profile says:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH=
fi
Note that there is no export PATH.
If export PATH is not present, how is it getting set globally?
When I open an interactive non login shell and issue ~$ echo "$PATH", I'm able to see $HOME/bin in it. Am I missing something?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu bash Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dony Thomas for more information if necessary.
To post a message you must log in.