"-bash: ls: command not found" error in Terminal on Mac. How to correct it?

Posted by logoin on Stack Overflow See other posts from Stack Overflow or by logoin
Published on 2010-06-18T06:48:19Z Indexed on 2010/06/18 6:53 UTC
Read the original article Hit count: 308

Filed under:
|
|
|

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!

© Stack Overflow or respective owner

"-bash: ls: command not found" error in Terminal on Mac. How to correct it?

Posted by logoin on Super User See other posts from Super User or by logoin
Published on 2010-06-18T06:48:19Z Indexed on 2010/06/18 8:13 UTC
Read the original article Hit count: 308

Filed under:
|
|
|

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!

© Super User or respective owner

Related posts about mac

Related posts about bash