Saturday, April 27, 2024
71
rated 0 times [  71] [ 0]  / answers: 1 / hits: 203798  / 1 Year ago, tue, november 22, 2022, 2:09:06

Show how you can add /home/<yourusername>/bin to the $PATH variable. Use $HOME (or ~) to
represent your home directory.


More From » home-directory

 Answers
4

To do that you need to type in your terminal:



export PATH="$HOME/bin:$PATH"


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.


[#27587] Wednesday, November 23, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
allowiel

Total Points: 189
Total Questions: 103
Total Answers: 105

Location: Slovenia
Member since Thu, Mar 18, 2021
3 Years ago
;