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?

  • @[email protected]
    link
    fedilink
    English
    010 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?

    • @laverabeOP
      link
      English
      210 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.