Say if I need to do this a lot:
cd ../../../../foo/sub1/bar/dest/
cd ../../../../foo2/sub1/bar/dest/
cd ../../../../foo3/sub1/bar/dest/
cd ../../../../foo/sub1/bar/dest/
Is there any faster way to not always typing ../../../../ so many times? Any creative ideas?
cd ../../../..and be done with it? – Red Cricket Dec 24 '13 at 04:09pushdandpopdor evencd -. – jscott Dec 24 '13 at 04:28cd -(to go to last directory) is easier. I typicallyalias h="history|grep"so that I can use the history entry shortcuts instead. Something likeh foo3, followed by!450to repeat that command. – ewwhite Dec 25 '13 at 13:21