Ask DN: Favorite bash_profile aliases?

over 7 years ago from David M, UI Developer

  • Daryl GinnDaryl Ginn, over 7 years ago (edited over 7 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