Using !!
This command is used to bring back and automatically execute the last command in history. It is the same as pressing C^P followed by Enter). Here’s an example:
Have a look at our Linux Cheat Sheet for quick one-liners, commands and tips.
Using !!
This command is used to bring back and automatically execute the last command in history. It is the same as pressing C^P followed by Enter). Here’s an example: