Pipes – a pipe connects small commands together to execute a COMPLETE complex task. Pipe symbol is ‘|.’ The flow of data through the pipe is from left to right. Example – $ cat names.txt | grep “Sam” | TEE sam.txt | wc -1
Filter – FILTERS are used to MODIFY the output of a command. Examples of filters are grep, sort, more, less, cat, cut and so on.