Concept of Pipeline & Unix Command Part - 3

 



In this post we discuss following Unix Commands.

$ pg filename
$ head -n filename
$ tail -n filename
$ file file(s)
$ grep option string file(s)
 Concept of Pipeline :
If we want to run more than one command in one statement than we use pipeline concept. In pipeline output  of one pipe is input of another pipe. It is represented by ( | ).
$ who | wc -l
$ who | grep amit| wc -l
$ who | grep amit | tee aa | wc -l

For Read Detail and  More Commands Click here


No comments:

Post a Comment