Changed the PATH, now I'm getting "command not found" for everything
What can I do to regain control?
Run /bin/vi
and revert the changes you made to /etc/environment
and /etc/sysconfig/httpd
.
You can set your PATH
without an editor. Just type this in the shell:
export PATH=/usr/local/bin:/usr/bin:/bin:$HOME/bin