mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Run the previous command with sudo
This commit is contained in:
1 parent
fe199b6f15
commit
645f017c63
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user