Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 10530  / 2 Years ago, sat, october 22, 2022, 10:26:08

Where is the correct place to store user-local executable files?



echo $PATH gives



/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games


It doesn't include eg. $HOME/bin



Would $HOME/bin be advisable? Or $HOME/opt/bin ....



I guess I would have to add that to my .profile too?


More From » .profile

 Answers
6

I think if you add a $HOME/bin directory it should be added to the path automatically, looking in my .profile would indicate this



Yes just checked and by creating a $HOME/bin directory the next time you log in its automatically added to the path.



Hope that helps


[#35422] Saturday, October 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enefiama

Total Points: 43
Total Questions: 125
Total Answers: 102

Location: Gabon
Member since Sat, Jul 25, 2020
4 Years ago
enefiama questions
;