News for hackers. Stuff that matters.
Re:Ask HN: Best Command-Line Applications? by klatys on Monday November 19, 2018 @03:30AM (#18484892)
nice ones! couple from my bash_alias

    alias ..="cd .."
    alias ..2="cd ../.."
    # ... you get the idea, mine goes up to 5
    function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; }
    alias h="history|grep"
Re:Ask HN: Best Command-Line Applications? by bpmckenna on Monday November 19, 2018 @06:32AM (#18485653)
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
Re:Ask HN: Best Command-Line Applications? by sfdgsdfg on Tuesday November 20, 2018 @02:59AM (#18492443)

    alias ...="cd ../.."
    alias ....="cd ../../.."