home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: z Chapter 9
The Ex Editor
Next: Reference: =
 

!

[

address

] 

!



command

Execute UNIX 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


Previous: Reference: z UNIX in a Nutshell: System V Edition Next: Reference: =
Reference: z Book Index Reference: =

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System