创建别名文件: touch ~/.bash_aliases 增加别名: echo "alias rm='rm -i'" >> ~/.bash_aliases 使别名生效: source ~/.bashrc