You can connect two commands together so that the output from one program becomes the input of the next program. Two or more commands connected in this way form a pipe. to use the vertical pipe use SHIFT \ button, its right above ENTER.
Pipe is command “|” that takes output from one program and put it in input of the next program.
For example
#cat test.txt | grep a
This line consists in two parts (before pipe and after).
The first part in this line (before pipe (“|”)) outputs content of the file test.txt. The pipe takes first part output (content of file test.txt) for the second part. The second part (after pipe (“|”)) takes that content and searches “a” character
The result will be content of the file test.txt with “a” characters in different color with other text.
If you are facing any issue like can not see video so please login into Google with email what you forwarded to us Google Login or mail to administrator qatraining@infotek-solutions.com
March 30, 2015 at 1:35 am
You can connect two commands together so that the output from one program becomes the input of the next program. Two or more commands connected in this way form a pipe. to use the vertical pipe use SHIFT \ button, its right above ENTER.
March 30, 2015 at 5:38 pm
The “|” command allows you to run or connect two commands together.
March 26, 2017 at 8:13 pm
Pipe is command “|” that takes output from one program and put it in input of the next program.
For example
#cat test.txt | grep a
This line consists in two parts (before pipe and after).
The first part in this line (before pipe (“|”)) outputs content of the file test.txt. The pipe takes first part output (content of file test.txt) for the second part. The second part (after pipe (“|”)) takes that content and searches “a” character
The result will be content of the file test.txt with “a” characters in different color with other text.
Navigation
Loading Questions
If you are facing any issue like can not see video so please login into Google with email what you forwarded to us Google Login or mail to administrator qatraining@infotek-solutions.com
Edit Profile