It looks like you don't have the right permissions on the /usr/bin
directory.
Solution for OS X 10.11 (El Capitan) and later:
- Install Onyx 3.1.3 app (Free analog of Disk Utility)
- Choose 'Maintenance' -> 'Permissions' -> 'Execute'.
Solution for older versions of OS X:
- Open 'Disk Utility' app -> Press 'Repair Disk Permissions'.
It will set default permissions for the /usr/bin
directory.
If this step doesn't help try this:
- Delete
com.apple.terminal.plist
from the ~/Library/Preferences
folder;
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…