Sunday, 6 March 2016

What are the usage of pipes ?


A pipe is a chain of processes so that output of one process (stdout) is fed an input (stdin) to another.
 
The commands are written in sequence separated by | Different filters are used for Pipes like AWK, GREP
e.g. sort file | lpr Sort the file and send it to printer
Uses of Pipe
  • Several powerful functions can be in a single statement using
  • Streams of processes can be redirected to specified locations, using

No comments:

Post a Comment

Note: only a member of this blog may post a comment.