Re-run the last command with root privilege.
alias please='sudo $(history -p !!)'
Re-run the last command saying yes to all interactive questions.
alias really='yes | $(history -p !!)'
Re-run the last command with root privilege.
alias please='sudo $(history -p !!)'
Re-run the last command saying yes to all interactive questions.
alias really='yes | $(history -p !!)'