add a directory to path in linux code example
Example 1: how to add a directory to path in linux
export PATH="$HOME/bin:$PATH"
Example 2: ubuntu export path
$ source ~/.bashrc
export PATH="$HOME/bin:$PATH"
$ source ~/.bashrc