转载自:https://blog.csdn.net/miltonzhong/article/details/48089415 修改 /root/.bashrc文件添加别名方法: alias 别名='原来的操作命令'最后让资源文件生效就可以了