ubuntu export path all to bashrc code example Example 1: ubuntu export path Click to copyexport PATH="/path/to/dir:$PATH" Example 2: ubuntu export path Click to copy$ source ~/.bashrc