## Preserve your fingers from cd ..; cd ..; cd..; cd..;$ upup(){ DEEP=$1; [ -z "${DEEP}" ] && { DEEP=1; }; for i in $(seq 1 ${DEEP}); do cd ../; done; } ## ExplanationInclude this function in your Now you are able to go back in your path simply with
enjoy! |