Linux 中文件夹类型没有颜色的解决办法

61 阅读1分钟

1. 修改文件

vim ~/.bashrc

2. 添加内容

alias ls="ls --color"

3.使其生效

source ~/.bashrc