Ask DN: Favorite bash_profile aliases?

almost 4 years ago from David M, UI Developer

  • Daryl GinnDaryl Ginn, almost 4 years ago (edited almost 4 years ago )

    Not an alias, but I find it super useful and some of you may too. When you run a command that requires sudo and you forgot to add it, you can simply do this:

    sudo !!

    It will prepend sudo to your last command.

    5 points