1、返回到上次使用的路径 cd -
2、alias xh=‘cd /home/xh/vdsl’
永久保存:vi ~/.bashrc 添加:# alias xh=‘cd /home/xh/vdsl’
保存后,然后运行 source ./bashrc
如果还不行:vi ~/.bash_profile 添加 # source ~/.bashrc