export PATH=$PATH:/new/dir
Category: Shell & Bash
export PATH=$PATH:/new/dir
Add a new directory to the PATH environment variable
Adds a new directory to the PATH, which is the list of places the shell looks for executable programs. $PATH:newdir appends to the existing list.