其实只要在用户目录下创建一个脚本“.bash_profile”,并输入如下内容便可: linux
alias ll='ls -alF' bash
alias la='ls -A' spa
alias l='ls -CF' ci
而后 source .bash_profile file