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: substr Chapter 11
The Awk Scripting Language
Next: Reference: tolower
 

system


system(


command


)

Function that executes the specified command and returns its status. The status of the command that is executed typically indicates its success (1), completion (0) or unexpected error (-1). The output of the command is not available for processing within the awk script. Use " command | getline " to read the output of the command into the script. {N}


Previous: Reference: substr UNIX in a Nutshell: System V Edition Next: Reference: tolower
Reference: substr Book Index Reference: tolower

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