Basic command lines on Mac terminal not working
macos, shell
Solution
Mistakenly I also ran into same problem where to resolve this I had to reset my PATH variable to basic settings as below :
`export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin"`
Once you set PATH variable now you can open the .bash_profile file in same terminal session only and make changes accordingly. This will resolve your problem.
Problem
I changed the bash profile while trying to install mongodb and none of my command lines are working on terminal. I read online that I need to fix the $PATH but I can't even access it when none of my commands are working. Help?