How do I permanently export a variable in Ubuntu?
Answer
I am completely new to Ubuntu, and I would permanently set an environment variable.
…
1 Answer
Answer
I am completely new to Ubuntu, and I would permanently set an environment variable.
…
1 Answer
- Open a terminal window with Ctrl + Alt + T .
- Open the file for editing with gedit ~/.profile.
- Add the command to the bottom of the file.
- Save and close gedit.
- Log out and log in again.