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


readpipe

readpipe 

cmd

Executes cmd as a system command and returns the collected standard output of the command. In a scalar context, the output is returned as a single, possibly multiline string. In list context, a list of output lines is returned.