- cd x to y
-
I added an alias to my bashrc (cshrc) file:
alias cdxy 'echo `pwd` | sed "s|/\!:1\(/\?\)|/\!:2\1|g" > ${_DIRFILE}xy; cd "`cat ${_DIRFILE}xy`"'Now I can be in a folder and change a parent folder using the cdxy alias.
Comments
#1.
dtyxqdyeyj commented, on 2010-03-20 19:16:02:
tNa2Oo <a href="http://mkrkhbywbesd.com/">mkrkhbywbesd</a>, [url=http://gvyjufcoaffw.com/]gvyjufcoaffw[/url], [link=http://mfylftjntqzh.com/]mfylftjntqzh[/link], <a href="http://jnvwzrqecxys.com/" rel="nofollow">http://jnvwzrqecxys.com/</a>