Contents
How do I change the PATH of a file in Ubuntu?
User PATH Variable
- Click on the “Search” button in the Ubuntu launcher tool bar and type “terminal” in the text box.
- Double-click the “Terminal” option that appears in the menu.
- Type the command: …
- Type the line: …
- Save and close the file.
- Log out of the system and log back in to initialize the new PATH variable.
Where is PATH set in Ubuntu?
The (default) system wide PATH is set in the /etc/environment file. It is basically the place to save the global environment variables.