pbarker,
@pbarker@social.afront.org avatar

Bash/zsh tip: ! is a valid character in an alias. I use it to mark aliases which run under sudo, for example on my Debian box I have:

alias e!="sudo ${EDITOR}"
alias a!="sudo apt"
alias s!="sudo systemctl"
alias in!="sudo apt install"

... and a few others.

fell,
@fell@ma.fellr.net avatar

@pbarker I still struggle to find a good alias for systemctl. Who thought it was a good idea to give it such a long name?!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • opensource
  • DreamBathrooms
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Durango
  • Youngstown
  • khanakhh
  • slotface
  • ngwrru68w68
  • rosin
  • ethstaker
  • kavyap
  • thenastyranch
  • everett
  • megavids
  • modclub
  • cubers
  • tacticalgear
  • vwfavf
  • mdbf
  • normalnudes
  • cisconetworking
  • tester
  • anitta
  • osvaldo12
  • Leos
  • provamag3
  • JUstTest
  • All magazines