树莓派Debian支持ll

xiaoxiao2021-02-27  449

进入用户的根目录/home/pi

vi .bashrc #使用vim 编辑.bashrc配置文件

我们找到这样几行 # You may uncomment the following lines if you want `ls' to be colorized: # export LS_OPTIONS='--color=auto' # eval "`dircolors`" # alias ls='ls $LS_OPTIONS' # alias ll='ls $LS_OPTIONS -l' # alias l='ls $LS_OPTIONS -lA'

把alias ll=’ls $LS_OPTIONS -l’前面的#号去掉

然后sudo reboot重启即可。

转载请注明原文地址: https://www.6miu.com/read-2710.html

最新回复(0)