Introduction
Sometimes you want to use the output of one command as the input for another command. The pipe operator (|) connects commands so data flows smoothly between them without saving to a file.
When you want to count how many files are in a folder by listing them and then counting the lines.
When you want to find a specific word in a list of running processes.
When you want to sort a list of users alphabetically after listing them.
When you want to see only the top few lines of a long output.
When you want to filter system logs to show only error messages.