Unix / Linux / Ubuntu Articles

Submit Article
Home » Articles » Unix / Linux / Ubuntu » CommandsRSS Feeds

Pipes examples in unix

Posted By: Jacob Bouchard     Category: Unix / Linux / Ubuntu     Views: 6011

Pipes examples in unix language.


Let us have an example.
use who > user.txt
use wc -l < user.txt

In the above the who and wc -l makes the use of standard output and input stream. 
They use the disk files.
In order to avoid this.
The operator that is | (pipe) is used.
who | wc -l



Didn't find what you were looking for? Find more on Pipes examples in unix Or get search suggestion and latest updates.

Jacob Bouchard
Jacob Bouchard author of Pipes examples in unix is from Montreal, Canada.
View All Articles

Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

No Comment Found, Be the First to post comment!