cd .. goes one folder up.
cd ..
Is there a (one-line) command to go n folders up?
You sure can define a function to do that:
$ go_up() { for i in $(seq $1); do cd ..; done } $ go_up 3 # go 3 directories up