Last active
October 24, 2022 14:19
-
-
Save kumpelblase2/f7132e326b9917899b2d to your computer and use it in GitHub Desktop.
please~ -- Runs last command as root.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias please='sudo bash -c "$(history -p !!)"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias please='sudo $(fc -ln -1)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment