Name

!

Synopsis

[address] !
                  command
               

Execute Linux command in a shell. If address is specified, apply the lines contained in address as standard input to command, and replace the lines with the output.

Examples

                  !ls               
                  List files in the current directory
:11,20!sort -f     
                  Sort lines 11-20 of current file

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.