This is a pipe: |
http://www.lnf.infn.it/computing/doc/aixcxx/html/glossary/p.htm
Yahoo! Pipes is based on this:
http://pipes.yahoo.com/pipes/
Batch files can be piped together, taking the output from one line and making it the input to the next line like this:
DSGET GROUP "CN=East Coast Sales, OU=East ,DC=bcdtrain, DC=com" -MEMBERS | DSMOD GROUP "CN=BCDTrain Sales, OU=Sales, DC=bcdtrain, DC=com" -ADDMBR
The first line gets the members of a group, then pipes it in to the next line, which modifies each member from the line above!
Here's one I created:
ping 64.233.187.99 | arp -A
stop
The first part ping's Google's IP, then the second part (after the pipe) takes that output and uses it as input on the arp command! The secret is making it all on one line. Do it on two lines and the pipe won't work.
Leave a Reply