Run the previous command with sudo

This commit is contained in:
Randy8080 committed 2021-12-15 15:32:39 +08:00
1 parent fe199b6f15
commit 645f017c63
1 file changed
+1
+1
View File
@@ -735,6 +735,7 @@ Bash History {.cols-2}
| Command | Description |
|-----------------------|-------------------------------------------|
| `history` | Show history |
| `sudo !!` | Run the previous command with sudo |
| `shopt -s histverify` | Don't execute expanded result immediately |
### Expansions