So in my "the linux command line" book, it says this
"The PATH variable is often (but not always, depending on the distribution) set by the /etc/profile startup file and with this code:
PATH=$PATH:$HOME/bin"
when i open the etc/profile to see if it's there, it's not....but surely this bit of code has to be in the system? In the environment, there is the path variable, but it's not the same, there are several paths seperated by colons.
Where is this bit of code on my system, if at all?
That particular piece of code is located in
~/.profile
, which by default looks like this: