how to add a path in .bashrc code example Example: how to add a directory to path export PATH="$HOME/bin:$PATH"