Show how you can add /home/<yourusername>/bin
to the $PATH
variable. Use $HOME
(or ~
) to
represent your home directory.
Ubuntu – How to add /home/username/bin to $PATH?
environment-variableshome-directorypaths
environment-variableshome-directorypaths
Show how you can add /home/<yourusername>/bin
to the $PATH
variable. Use $HOME
(or ~
) to
represent your home directory.
Best Answer
To do that you need to type in your terminal:
This change is only temporary (it works only in the current session of the shell). To make it permanent, add the line to your .bashrc file located in your home directory.