Not terribly complicated or clever, but I wanted to try something different… and learn something.
alias u="cd .."
alias uuuuuu="for (( i=1; i<=6; i++ )) ; do cd .. ; done"
All this because I change directory levels like crazy, and often, in the shell. I worked out #6 when I was trying to figure out a way to count the number of U’s I typed. But then I reckoned that was too complicated, but didn’t want to completely lose it.
At least it is amusing to me.
I may try to figure out how to script this at some point and count the number of U’s or pass in a parameter.