I use `..` to go upper directory, `...` to go up two levels, I added this to bashrc:
str='..'
level='./../'
for i in `seq 1 10`;
do
eval "alias '$str=cd $level'"
level=$level'../'
str=$str'.'
done
Note, seq is not available in Mac, should use jot instead.