if I have current path as a long one..and I want to switch to a directory with just one word from path replaced by something else..like say when using maven , I want to switch from main path to test path, how do I do it?
Some time back, I was able to do it by
$ cd main test
to replace main by test in the path, but not any more..
Any pointers...?