How to check where my PATH is modified?

0

I have in my PATH a folder destination included which does not exist any more. Still I just can't find in which file is it set. I checked for .bashrc, .profile, .bash_profile does not exist.

Is there an easy method to check this?

MattSom

Posted 2017-04-01T12:37:42.063

Reputation: 103

Answers

0

It should be in /etc/profile.d/ check all files in that folder.

Michael D.

Posted 2017-04-01T12:37:42.063

Reputation: 698

I did not find the destination included there, so overrided it in .profie then went source ~/.profile command. Maybe that was the problem. Still thanks, good to know now. – MattSom – 2017-04-01T12:55:23.293