Linux $PATH system variable

​Linux $PATH variable contains locations which can be used to locate files by default.

echo $PATH will display which directories are currently set to that variable.

Multiple directories can be assigned to $PATH variable with separating each directory location with ;

To make this change permanent, or in other words apply this change to be executed every time Linux session starts, then make the change to session start script. The script name will vary on the shell is being used. For example .bashrc script located in the user’s home directory.

YouTube video

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator