centos5.6 ,ls输出的目录的颜色实在难看,连字都看不清,google搜索了一下,看到这篇东西:
http://hi.baidu.com/190420456/blog/item/e1a80509ad33c8820a7b829c.html
然后,
echo $LS_COLORS >> .bash_profile
vim 打开 .bash_profile,把di=00,34修改成 di=00,36 ,前面加上 LS_COLORS 的变量名,然后export
修改退出vim后
source .bash_profile
爽多了。