Comment Comment by hackerpolicy If you work with something like this /this/is/some/very/nested/directory/ and you need to move to almost the same structure /this/be/some/very/nested/directory/ then you might benefit from function bcd { cd ${PWD/$1/$2} } parent hackerpolicy 13 years ago