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?

1 Answer 1


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

  • 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
    Apr 1, 2017 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.