Oh no. This is so bad. Who in their right mind would assume that a login user remains the same user throughout the session!?
Oh wait. Windows.
Oh no. This is so bad. Who in their right mind would assume that a login user remains the same user throughout the session!?
Oh wait. Windows.
I think I know what happened. Did you do something like
PATH="/usr/bin/golang"
?Because doing that overwrite your path variable. You need to set it like this:
PATH="{PATH}:/usr/bin/golang"
to append to the path.And well… I hope you got a backup of your
/root/.bashrc
or whatever you use as a terminal. Restoring it should fix itEdit: you should be able to use any program by appending /usr/bin/ to your commands, as long as it’s in this directory