Basically I want to know that. How can I add a directory (/tmp in my case) to the Path permanently from the terminal?
Asked
Active
Viewed 752 times
1 Answers
1
export PATH=/tmp:$PATH
for your current session.
echo -e '\nexport PATH=/tmp:$PATH' >> ~/.profile
for your future sessions.

lysium
- 131
- 2