Ask DN: Favorite bash_profile aliases?

over 4 years ago from David M, UI Developer

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