1.在使用Mac电脑终端命令时候我们可能会遇到ls命令可以用,但是ll命令就会提示:-bash: ll: command not found
2.这时候我们可以使用命令行:
open ~/.bash_profile
3.在文件中添加:
alias ll='ls -alF
alias la='ls -A
alias l='ls -CF
然后保存一下。
4.最后,编译配置文件.bash_profile:
source .bash_profile
5.在最后检查一波
1.在使用Mac电脑终端命令时候我们可能会遇到ls命令可以用,但是ll命令就会提示:-bash: ll: command not found
2.这时候我们可以使用命令行:
open ~/.bash_profile
3.在文件中添加:
alias ll='ls -alF
alias la='ls -A
alias l='ls -CF
然后保存一下。
4.最后,编译配置文件.bash_profile:
source .bash_profile
5.在最后检查一波