Score:0

Google VM - Command not found | SOLVED

au flag

I had my VM stopped for about a month. After restarting it today I can't run any command in the shell. I reset the instance through the reset button and also upgraded the instance but nothing seems to work.

Google doesn't seem to have an option to submit a support ticket and it redirected me here to create a question instead.

enter image description here

Hopefully, someone can help me with this.

Update: below command helped me. Looks like GO that I had installed replaced previous PATH settings

export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

cn flag
Posting this as an answer and then accepting it will let people (and the search algorithms) know that this has a fix.
Robert G avatar
cn flag
@Damodar, please post this as an answer because this would be very helpful to the community, especially those who will encounter similar case as yours.
au flag
Done. Thank you RobertG & sysadmin1138.
Score:1
au flag

The below command helped me. Looks like the GO that I had installed replaced previous PATH settings.

$ export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Then, I checked ~/.bashrc, ~/.bash_profile, ~/.bash_aliases and replaced PATH added by GO with the above export PATH line.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.