利用alias简化命令输入

~/.bashrc中的说明

 

 # Alias definitions.

 
 
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
 
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi
 
 
在~目录中新建 .bash_aliases
保存自己常用的alias。
也方便迁移到新的环境中去。

你可能感兴趣的:(目录,Examples,instead,Separate,directly)