Unable to edit ~/.bash_profile file on my mac. I did some changes in this file and rebooted. From then nothing is working on my command line:

enter image description here

Any help would be appreciated.

  • 2
    Instead of a screenshot please use copy/paste to show Terminal output. This makes it accessible to people with screen readers and to the search function.
    – nohillside
    Commented Oct 19, 2019 at 11:48

1 Answer 1


Run /usr/bin/vim ~/.bash_profile and fix whatever is wrong in the assignment to PATH.

Not the answer you're looking for? Browse other questions tagged .