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?

  • Evkob
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    My aliases all involve updating Docker containers or managing VPN and SSH connections to the laptop that hosts them.

    I’m a bit confused as to what you mean by “I’ve used them in the past and on specific programs but never on command line utilities”. What’s an example of an alias you used outside CLIs?

    • laverabe@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 months ago

      CAD programs that have command line utilities, old text based games in the 90s had aliases and they were used a lot. I had just never thought to use them in BASH for some reason.