Hacker News new | ask | show | jobs
by pokler 913 days ago
up() { cd $(eval printf '../'%.0s {1..$1}); }

So you can just type something like `up 2` to move by two directories.

1 comments

eval printf? um.... is your name little bobby tables by any chance?