Not sure if it is possible, but i seem to remember from my old days using AIX it was possible to change my path by just saying which part of the path needed to be replaced by something else. For instance, say i have two paths:
/etc/application-2.0.1/options/default
and
/etc/application-1.0.8/options/default
that i could switch from folder 1 to 2 using a command like
cd /2.0.1/1.0.8/
which would replace, in the path, the string 2.0.1
to 1.0.8
. Obviously this does not work for me now. But is there a way to do this?