A majority of terminal commands don't work, for example .
ls
sudo
vi
with the error -bash: ls: command not found
my path is echo $PATH
“/Users/username/usr/local/bin
I get the feeling that “
should not be there but not sure how edit it.
What should the path be and how do I get the path to stay the same?
You need to add more paths to your $PATH variable. Try running whereis ls
and check where is the binary of the command.
You can add more paths like this: export PATH=$PATH:NEW_PATH