|
|
发表于 2005-5-21 14:30:49
|
显示全部楼层
最简单的就是,
ls --color=yes
你要每次都有颜色,就到~/.bashrc 里面把
alias ls='ls --color=auto'
这行前面的注释去掉,其他的你再看看,要什么就去掉那边的注释。
然后在去~/.bash_profile 把下面的内容前面的注释去掉
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
这样做比较好,当然也可以手动加。你还需要看一些比较基本的书 |
|