Mac OSX Terminal Tip 1 (Advanced ‘ls’ Display)
Tuesday, September 4th, 2007 -- By ETadd the following to the file ‘.bash_profile’ in the home directory
alias ls=”ls -GFv”
-G :以彩色顯示
-v :終端機編碼設定為UTF8時,可正確顯示硬碟內的中、日文檔名
-F :目錄後顯示 (`/’), 可執行檔後顯示(`*’) ,symbolic link後顯示(`@’), an equals sign (`=’) after each socket, a percent sign (`%’) after each whiteout, and a vertical bar (`|’) after each that is a FIFO.
