Mac 下ll命令 command not found
在linux下习惯使用ll、la、l
等ls
别名的童鞋到mac os提示command not found
必须使用ls
加参数,人懒没办法不想多打字。
打开终端
$ cd ~
$ vim .bash_profile
随便找个位置加入:
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
保存后,执行
$ source .bash_profile
OK,现在就可以愉快的使用ll
命令了