Is there any shortcut for cd ..?
|
Not by default (There might be some exceptions to this), there isn't. But if you use the
This will allow you to use the command |
|||||||||||||||||||||
|
|
I find this useful:
For example, As a bonus, |
|||||
|
|
Try Cd Deluxe for a greatly improved cd command. It supports things like "cd ..." and "cd ...." and so on in order to quickly navigate upwards. |
|||
|
|
|
My bashrc file contains
as well as
|
||||
|
|
|
After doing a
you can If you want the whole swift-chdir suite
just include this in your .bashrc
|
|||||||||||||
|
|
Try autojump: autojump on github This will not only shorten the cd command into 'j' but also shorten the characters needed for typing the folder you want to jump into. If you always cd into the folder /home/foo/Projects/thenextfacebook you can just do 'j face' and there you are. It learns automatically which folders are the most important ones for you and after using it for a month now I can say that it is very accurate. |
|||
|
|
|
Activate the
For the curious, the same exists for zsh:
|
|||||||||||||||||||||
|
|
I use this one since I type too fast and often miss the space bar:
|
|||||||||||||||||||
|
cd ..too cumbersome to type – Erik Mar 20 '11 at 8:16cd ..’ so often have the “I mustcdinto a directory before talking about the files there” anti-pattern, rather than specifying filesystem paths. – bignose Apr 20 '11 at 7:08