本文发布于:2008-08-30,最后更新于:2018-05-04,如果内容失效请留言告知。
在 linux 下习惯使用ll、la、l
,在 moc os 下也可以通过别名的方式来实现。方法如下:
1 在用户目录下建立一个脚本.bash_profile
:
vim ~/.bash_profile
2 输入以下内容:
alias ll='ls -alF' alias la='ls -A' alias l='ls -CF'
3 然后执行:
source .bash_profile