"-bash: ls: command not found" error in Terminal on Mac. How to correct it?
- by logoin
I edited the .profile file to add a new PATH. I believe I set it wrong such that most commands become unavailable. Since I can't use ls or vi commands to edit .profile again, any idea how I can correct the error? Thanks!