command line aliases to make repeated processes quicker. I’ve used them in the past and on specific programs but never on command line utilities.

like for instance with Debian, I’m repeatedly typing sudo apt-get install, so I aliased it: alias sagi=“sudo apt-get install” and it works pretty good.

Are there any best practices or aliases to avoid when using them? Other than known commands obviously. Are there popular alias lists out there?

  • @surewhynotlem
    link
    English
    410 months ago

    hgrep

    history | grep

    Because I can never remember what parameters to use for things so my history is a quick reference.

    • @whats_all_this_then
      link
      English
      210 months ago

      Have you tried fzf and it’s history integration? Ctrl+R and youre fuzzy finding through your history. I don’t know how I lives without it