---

!: 10 Amazing and Mysterious Uses of the ! Operator in Linux Commands

The ! symbol or operator in Linux can be used as Logical Negation operator as well as to fetch commands from history with tweaks or to run previously run command with modification. All the commands below have been checked explicitly in bash shell.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis