Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
$ loopy
Command 'loopy' is available in '/usr/games/loopy'
The command could not be located because '/usr/games' is not included in the PATH environment variable.
loopy: command not found

Every answer I've found just says to add it to my .profile... but this should be be in the PATH for all users, and was up until recently (I have no idea what would have caused it to change).

How can I solve this on my system for all users? What could have caused this to change?

Thanks.

share|improve this question
add comment

2 Answers

See this post: http://www.troubleshooters.com/linux/prepostpath.htm

Basically, modify /etc/profile

share|improve this answer
add comment
up vote 1 down vote accepted

For Ubuntu the path variable is stored in /etc/enviorment

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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