adding a path to $path in linux code example
Example 1: linux add to path
export PATH=$PATH:/place/with/the/file
Example 2: add path to $PATH
PATH=$PATH:~/opt/bin
# or
PATH=~/opt/bin:$PATH
export PATH=$PATH:/place/with/the/file
PATH=$PATH:~/opt/bin
# or
PATH=~/opt/bin:$PATH