码迷,mamicode.com
首页 > 其他好文 > 详细

Using CDPATH environment to accelerate navigation among multiple commonly used directories.

时间:2014-10-14 22:36:59      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   color   io   os   ar   java   for   

Using CDPATH environment to accelerate navigation among multiple commonly used directories.

Using CDPATH environment to accelerate navigation among multiple commonly used directories.

It is common that we want to change directory (cd command) between several directories, in which case the simple (cd -) command is not enough.

That is where the CDPATH comes to help, you can set the most often used directories in ~/.bashrc file using the following format:

export CDPATH=.:/home/wujing/work/huawei-test:/home/wujing/work/myprogram/researchprog/io-scheduling

and then execute

source ~/.bashrc

The cd command will list the subdirectories inside the given paths.

Author: wujing

Created: 2014-10-14 二 20:08

Emacs 24.3.1 (Org mode 8.2.6)

Validate

Using CDPATH environment to accelerate navigation among multiple commonly used directories.

标签:des   style   http   color   io   os   ar   java   for   

原文地址:http://www.cnblogs.com/wujingcqu/p/4025123.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!