Jake
Jake

Reputation: 16857

unix PATH environment variable edit

My PATH environment variable right now is:

./subTmp:/usr/local/bin

How do I remove the ./subTmp part from it?

Thanks.

Upvotes: 0

Views: 421

Answers (2)

Ernest Friedman-Hill
Ernest Friedman-Hill

Reputation: 81724

The details vary a bit by installation and by local custom, but generally you have a file named either .profile, .login, or .bashrc in your home directory that contains a line something like

PATH = ./subTmp:/usr/local/bin

Just edit it to be whatever you need.

Upvotes: 1

bjarneh
bjarneh

Reputation: 618

this should do

export PATH=/usr/local/bin

Upvotes: 0

Related Questions