You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Sounds like your PATH environment variable got reset or messed up in some way. Can you echo your path to see what it's set to (just wrapping it in pipes so that if PATH is empty you can still see that the echo succeeded):
$ echo "|$PATH|"
If that result is empty or lacks something like /bin or /usr/bin, then that is probably your problem. You'll need to track down where that is getting messed up and fix that. You should be able to still run commands, you'll just need to do so using their full path, something along the lines of:
$ /usr/bin/vim ~/.bash_profile
That path may differ on OSX.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Till yesterday everything was fine..But when i opened terminal today morning and tyoed coomands they are teeling like
-bash: java: command not found
-bash: sudo: command not found etc
I dont know what happened. Yesterday i changed envt variable..i dnt knw it is because of that..now i dnt know how to reset that because when i type
open -e.bash_profile
it shows,
-bash: open: command not found
pls help
The text was updated successfully, but these errors were encountered: