This question already has an answer here:
- Where to declare environment variables? 4 answers
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:
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?