在mac下无法使用ll,la,l等命令,其实是因为没有配置好ls命令的别名
打开环境变量配置文件.bash_profile
open ~/.bash_profile
添加以下内容到配置文件
alias ll='ls -alF
alias la='ls -A
alias l='ls -CF
command+s进行保存。
编译配置文件.bash_profile:
source .bash_profile
著作权归作者所有。
商业转载请联系作者获得授权,非商业转载请注明出处。
作者:JefskyWong ——程序猿甜品店
链接:https://www.jefsky.com/blog/200
来源:https://www.jefsky.com/