Linux Terminal 101 - Grep and Pipes!
This week on Haktip, we are checking out pipelines and their abilities in the terminal.
This week we are learning about pipes, which can "pipe" the standard output of one command to the standard input of another. an example can be ls -l /usr/bin | less. you can also use this to put several commands together (filters). an example: ls /bin /usr/bin | sort | less.
Uniq can remove duplicates from the standard input. You can also use pipelines with grep. Grep can find patterns in test and print out patterns. Watch this HakTip for more tips with pipelines!