Using sudo with an alias
To make aliases work with sudo, use the alias 'sudo ' (notice the space at the end), as so:
alias sudo='sudo '
Written by Marius Cotofana
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#