Pipes and filters & there used to get needed data ?
When a program or process takes input from another program and performs the action then the output can be seen using pipe “|” command.
For e.g. you want to extract a pattern or word from a process then the data can be extracted using below command-
#ps aux|grep
ps aux , command will show the process and “| grep” will extract the information from output of ps aux command.
This is how filters are used using pipe in any command.