Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bpmckenna
on Nov 19, 2018
|
parent
|
context
|
favorite
| on:
Ask HN: Best Command-Line Applications?
Instead of your `..` aliases, I have this, which saves some copy-pasting.
function up() { cd "$(printf '../'%.0s $(seq 1 "${1:-1}"))" && pwd; } #up 4 goes up 4 directories
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: