Skip Navigation

Do you use aliases?

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?

41

You're viewing a single thread.

41 comments
  • I recently set up an alias since I do some hardware stuff and need to run programs not in my default path as sudo.

    ’alias sudop='sudo env PATH=$PATH'’

    And that's pretty much the extent of my aliasing. I'm interested to see what other people do

You've viewed 41 comments.