How do I pipe the output of one command to another in unix? For example, If I want to pipe the output of sort to tail, how would I do that?
Thanks in advance.
|
|
|
The
This will work in any POSIX compliant shell. |
|||
|
|
|
Try doing this :
See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html and search 2.9.2 Pipelines paragraph |
||||
|