关键字: Linux 快速 目录 切换 目录切换 工具
===============================
Change Directory Quickly(CDQ)
===============================
INTRODUCTION:
If you work on Linux, maybe you always are bothered by changing directories frequently as me. With this tools, you can change directory from one to another so conveniently.
For example, if you change directory among "/usr/src", "/usr/src/linux" and "/home/user/backup/" frequently, you need to add those three directories to CDQ database first:
$ cd /usr/src
$ cdq -a src .
$ cdq -a linux /usr/src/linux
$ cdq -a backup /home/user/backup
then you can change to any of those diectories by inputing its index. For example, if you want to change to /home/user/backup, you can input:
$ cdq 3
or
$ cdq
1 src
/usr/src
2 linux
/usr/src/linux
3 backup
/home/user/backup
Please input index of directory: 3
cd /home/usr/backup
$
INSTALLATION:
After downloading package, please decompress first, then type ". ./setup -i" to install CDQ; or you can type "./setup -h" to get usage of setup. It is not recommended to modify any files in installation package if you are not familar with shell script programming. After installation, cdq becomes available in current terminal, and new opened terminal.
USAGE:
after installed this tools, you can type "cdq -h" or "cdq help" to get how to use this tool.
THANKS TO:
Mr. Yang and Mr. Feng, they gave me some valuable hints,Thanks!
ANNOUNCEMENT:
if you have any question, please send email to web_surf@163.com.
点击这里下载CDQ(下载后, 请将文件名改为cdq-1.0.2.tar.gz, 再解压)注: 1, 欢迎讨论、拍砖。
2, 本文中的代码可以任意使用、修改, 但请在源码中注明来源(
http://websurf.cublog.cn/)。
3, 本文中的代码没有做完整的测试, 本人不作任何担保; 如果这些代码给你带来任何形式的影响,一概与本人无关。
4, 转载本文请注明出处(
http://websurf.cublog.cn/)。
阅读(2391) | 评论(0) | 转发(0) |