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