Ask Ubuntu Asked by band on February 14, 2021
I am trying to set the $PATH permanantly for Vault. I have cd to etc and run sudo nano environment. This opens and I have appended my needed path onto the end like this:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/richb201/Vault"
And I save this to environment. I then open a new cli and type echo $PATH but the new path "/home/richb201/Vault" doesn’t appear. What am I doing wrong?
I set my path in ~/.profile (ie in your home directory), no sudo necessary. There is already some code in there by default to add ~/bin which you can use as an example. But you will have to log out and in again, not just open a new terminal.
Correct answer by B.Tanner on February 14, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP