Chinaunix首页 | 论坛 | 博客
  • 博客访问: 153139
  • 博文数量: 24
  • 博客积分: 455
  • 博客等级: 下士
  • 技术积分: 309
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-22 09:43
文章分类

全部博文(24)

文章存档

2013年(7)

2012年(5)

2011年(11)

2010年(1)

我的朋友

分类: LINUX

2011-11-07 16:54:03

From 

Bashmarks is a shell script that allows you to save and jump to commonly used directories. Now supports tab completion.Install
  1. git clone 
  2. make install
  3. source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc file
Commands
s - Saves the current directory as "bookmark_name"
g - Goes (cd) to the directory associated with "bookmark_name"
l - Lists all available bookmarks

Example Usage
cd /var/www/
s webfolder
cd /usr/local/lib/
s locallib
l
g web
g webfolder

Deleting Bashmarks

All of your directory bookmarks are saved in a file called “.sdirs” in your HOME directory. Anytime you want to delete a bookmark, just open it up and delete the corresponding lines.

阅读(1018) | 评论(0) | 转发(0) |
0

上一篇:First BLOG!

下一篇:android中的模块编译

给主人留下些什么吧!~~