PDA

View Full Version : [SOLVED] what is "|" used for in code?



hortstu
February 12th, 2010, 05:25 PM
I see this | thing everywhere and it throws me off everytime. What is the purpose of it?

audiomick
February 12th, 2010, 05:27 PM
it is a pipe. It puts the output of the first command into the second command, roughly speaking.
Have a look here
http://en.wikipedia.org/wiki/Pipe_%28Unix%29

hortstu
February 12th, 2010, 08:33 PM
thanks