2008年9月21日 星期日

為Linux的shell穿上衣服

If we have a colorful linux, the symbol behind the instructions will be clear.
Color Wrapper(CW) will help us.

1. Install Color Wrapper
Download cw from http://sourceforge.net/projects/cwrapper/

2. Unzip and install it
tar -jxvf cw-1.0.15.tar.bz2
cd cw-1.0.15
./configure
make install

3. Set environment
* For bash: place 'export PATH="/usr/local/lib/cw:$PATH"' at the end of ~/.bash_profile(or /etc/profile globally)
* For tcsh: place 'setenv PATH "/usr/local/lib/cw:$PATH"' at the end of ~/.login(or /etc/csh.login globally)

4. Done
try df and w

沒有留言: