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:
that i could switch from folder 1 to 2 using a command like
which would replace, in the path, the string
1.0.8. Obviously this does not work for me now. But is there a way to do this?