yyyll 发表于 2016-1-1 14:42:14

Mac OS下使用ll等命令

  1. 进入用户bash_profile文件



vi ~/.bash_profile
  
  2. 添加如下命令



alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
  
  3. 刷新文件使生效



source ~/.bash_profile
  
页: [1]
查看完整版本: Mac OS下使用ll等命令