Warning: include_once(/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 214

Warning: include_once(): Failed opening '/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 214
NullVoid » Mac OSX Terminal Tip 1 (Advanced ‘ls’ Display) NullVoid » Blog Archive » Mac OSX Terminal Tip 1 (Advanced ‘ls’ Display)


Mac OSX Terminal Tip 1 (Advanced ‘ls’ Display)

By ET

add 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.

Leave a Reply


BlogTimer
You are visitor number several since September 1, 2001

Copyright Xiaoquan (Michael) Zhang, 2004-2020. All rights reserved.
All trademarks property of their owners.