Technical stuff Requirements are like water. They're easier to build on when they're frozen.

How to restore your Mac settings

11.07.2009 · Posted in Quick and dirty

If you installed a program which took the horrible approach of rewriting your .profile settings file and you discover you don’t have access to the shortcuts from your terminal anymore, here’s how to fix it:

  • open a terminal window and make sure you navigate to the home directory
  • cd ~
  • open your profile settings using the full path to your editor (I use nano):
  • /usr/bin/nano .profile
  • make sure your PATH setting contains at least the following information:
  • export PATH=/usr/bin:/bin:
  • make the shell reload your profile
  • . ./.profile

Now we’re talking! You can ls and sudo again!

Tags: ,

Leave a Reply