Skip Navigation

SHARE WITH THE CLASS: What aliases are you using?

From bash to zsh and everywhere in between, show me yours and I'll show you mines. Inspire others or get some feedback.

Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.

Edit: Kbin users, click 'More' on a comment and use the fediverse link to read responses that have funky formatting

114

You're viewing a single thread.

114 comments
  • alias hgrep='function _f(){ history | grep $1; };_f'

    Because I'm to lazy to type

    history | grep whatever_I'm_looking_for

    • alias rpmfind='rpm -qa | grep'
      
      • OMG. I originally got the impression (from somewhere) that you couldn't pass arguments to an alias, so I googled and found that weird function nonsense. Oh well, live and learn. Thanks.

You've viewed 114 comments.