使用alias 简化命令 alias 的基本使用方法为:alias 新的命令='原命令 -选项/参数'。 例如:alias openpdf='xdg-open' 在 ~/.bashrc 文件中添加 上面的修改,然后重启终端生效。