Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 2962  / 3 Years ago, wed, september 8, 2021, 9:57:56

I have a bin directory in my home directory.



I would like for the Run: shortcut to search that bin directory as well.



How do I add it to the Run search path?


More From » paths

 Answers
7

Maybe by adding something as follow in the /etc/profile file?



export PATH=~/bin:$PATH


If you have problems with the tilde (~), try /home/$USER/bin. If you're the only user on that computer anyway, you can always use /home/ranson/bin, of course.



Notes:




  1. you can also do that in your own ~/.profile file in which case the /home/ranson/bin path will work as is:



    export PATH=/home/ransom/bin:$PATH


  2. you'll have to log out and log back in for that change to take effect.



[#30102] Wednesday, September 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowovey

Total Points: 287
Total Questions: 98
Total Answers: 117

Location: Bosnia and Herzegovina
Member since Thu, Jan 14, 2021
3 Years ago
;