• 1 Post
  • 91 Comments
Joined 1 year ago
cake
Cake day: November 24th, 2023

help-circle
  • 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 it

    Edit: you should be able to use any program by appending /usr/bin/ to your commands, as long as it’s in this directory