News for hackers. Stuff that matters.

klatys

Re:Ask HN: Best Command-Line Applications? 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"