LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 484|回复: 4

help(sorry,can't input in chinese)

[复制链接]
发表于 2005-1-25 10:54:32 | 显示全部楼层 |阅读模式
the files downloaded from net such as *.tar.gz can't be show in colors when execute 'ls' command,but the old files copyed from livecd is well showed.what happens?somebody help me! :help  :help
发表于 2005-1-25 11:50:05 | 显示全部楼层
Post by ioriyw
the files downloaded from net such as *.tar.gz can't be show in colors when execute 'ls' command,but the old files copyed from livecd is well showed.what happens?somebody help me! :help  :help


vi /etc/profile
alias ls="ls --color"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-25 14:48:21 | 显示全部楼层
I have add it as followed:
alias ls='ls --color=auto'
but no effects!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-27 18:16:45 | 显示全部楼层

help

:help  :help  :help
回复 支持 反对

使用道具 举报

发表于 2005-1-27 23:58:04 | 显示全部楼层
把alias ls="ls --color=auto"加到~/.bashrc里再重新login试试。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表