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>