eg-253:unix:pipeanswer
Table of Contents
Answer 3.4
3.4 Using Pipes
Exercise 3b
Using pipes, display all lines of list1 and list2 containing the letter 'p', and sort the result.
Answer
<cli>ubuntu@ubuntu:~/unixsuff$ cat list1 list2 | grep p | sort</cli>
eg-253/unix/pipeanswer.txt · Last modified: 2011/01/14 13:00 by 127.0.0.1