Note to self on terminal

13/08/2009

Sometimes I change a few defaults but then I forget how I did it. First, seek showing all hidden files (both in Finder and Terminal) is easy. Just type in Terminal the following commands:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

The second line kills all instances of finder and restart them. The other issue is to activate color display (for directories, binary files, etc) in Terminal, which implies adding the following lines to one’s profile by using:

echo "export CLICOLOR=1
export LSCOLORS=exfxcxdxbxegedabagacad" >> .profile

man ls describes options for tweaking the color scheme.

Filed in mac

No comments yet.

Write a comment: