linux export LOCATION code example
Example 1: linux add to path
export PATH=$PATH:/place/with/the/file
Example 2: how to add a directory to path in linux
export PATH="$HOME/bin:$PATH"
export PATH=$PATH:/place/with/the/file
export PATH="$HOME/bin:$PATH"