Hot answers tagged macbook-air
You can set path via export PATH='/usr/bin:/bin:/usr/sbin:/sbin' to get the basics working. However if you must, you can boot to single user mode during a reboot. After which you can edit your bash_profile or bashrc to restore your full path or remove the problematic lines. See http://support.apple.com/kb/ht1492 for booting in single user mode.
Only top voted, non community-wiki answers of a minimum length are eligible