Terminal -bash: command not found errors
Terminal -bash: command not found errors I messed up something in my programming a few days ago that screwed up my terminal. My terminal now gives me the a bash error message with basic functions like ls, cd, or ssh. The error looks like this: -bash: ls: command not found , where the "ls" can be replaced with any shell command. The only way I have found to make my terminal function, is by inputting: export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin" into ever terminal window I open, which can get very tedious. It also refuses to run Python or Jupyter unless I type the aforementioned command in the terminal window first. Go files also fail to run in terminal, and gives me a similar error message: -bash: go: command not found. This can be overcome by inputting: export PATH=$PATH:/usr/local/go/bin into the terminal window first. I'm really worried about what is going on in my computer, and need my terminal to keep functioning in order for me to finish and pass th...