0

Using linux, I changed my client's home directory.

After then, when client enter 'ls'(file list command) into consol, I found that all of directory, files, etc color are white.

I tried to change '/etc/DIR_COLORS' file, and copied that into client's home directory but that never work. Even if I tried to input 'export LS_COLORS="di=0;36' command manually, without that client's, every members' work.

4

2 回答 2

1

恢复您客户的.bashrc.bash_profile.profile和/或.cshrc. ls它们包含许多设置,包括启用彩色输出所需的别名。

alias ls='ls --color=auto'

恢复启动文件后,注销并再次登录以测试它们是否工作。

于 2013-09-30T20:12:25.083 回答
0

将此添加到用户的 .bashrc

alias ls="ls --color=auto"
于 2013-09-30T20:12:07.383 回答