常用的linux效率命令

1、返回到上次使用的路径  cd -

2、alias xh=‘cd /home/xh/vdsl’

  永久保存:vi ~/.bashrc  添加:# alias xh=‘cd /home/xh/vdsl’  

  保存后,然后运行 source ./bashrc

  如果还不行:vi ~/.bash_profile  添加 # source ~/.bashrc

 

 

 

  

posted @ 2013-11-25 14:04  tony7373  阅读(84)  评论(0编辑  收藏  举报