Linux Tips and Tricks
Repeat last command:
!!
Sudo last command:
sudo !!
Correct previous statement (in editor)
fc
Prevent cmd from entering in history:
[space]cmd
Repeat last command:
!!
Sudo last command:
sudo !!
Correct previous statement (in editor)
fc
Prevent cmd from entering in history:
[space]cmd