commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This is a kind of wrapper around the shell builtin cd that allows a person to quickly go up several directories.
Instead of typing:
A user can type:
Add another period and it goes up four levels. Adding more periods will take you up more levels.
There are 2 alternatives - vote for the best!
Change to your taste. Much quicker than having to add 'cd' every time. Add it to your .bashrc or .bash_profile.
If you can do better, submit your command here.
You must be signed in to comment.