Hey all,
I have a solution for a common problem. When you're SSH'd into a server, it's a pain in the ass to cd around. Well, I wrote a small bash script that should make this much quicker.
It operates on the habit of bookmarking. If you're at a directory that you want to bookmark, you do this:
aguo@unix1:~/Documents/10605$ j add
Type an alias for the current working directory, or ^C to quit:
ml
and "j ml" -> ~/Documents/10605, etc.
To install, just save my .jrc file as "~/.jrc", and then ". .jrc" in your ".bashrc".
--Alex Guo
No comments:
Post a Comment