Linux: How To Add To Path
We are going to assume that you are using the BASH shell.
Show your current path like this:
Add a directory to your existing path like this:
If you want your path to stay set after you exit your current shell you should add it to your .bashrc file like this.