0

Basically I want to know that. How can I add a directory (/tmp in my case) to the Path permanently from the terminal?

Alex Gosende
  • 11
  • 1
  • 2

1 Answers1

1

export PATH=/tmp:$PATH for your current session.

echo -e '\nexport PATH=/tmp:$PATH' >> ~/.profile for your future sessions.

lysium
  • 131
  • 2