mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
edit "Run last command"
This commit is contained in:
parent
bab726081b
commit
0103101550
@ -69,7 +69,6 @@ Esc + c
|
|||||||
!!
|
!!
|
||||||
# run the previous command using sudo
|
# run the previous command using sudo
|
||||||
sudo !!
|
sudo !!
|
||||||
# of course you need to enter your password
|
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Run last command and change some parameter using caret substitution (e.g. last command: echo 'aaa' -> rerun as: echo 'bbb')
|
##### Run last command and change some parameter using caret substitution (e.g. last command: echo 'aaa' -> rerun as: echo 'bbb')
|
||||||
|
Loading…
Reference in New Issue
Block a user