terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user@linux:~$
Pipe Basics
Learn to search text with grep and connect commands using pipes.
Step 1
Search for "ERROR" in the log file using grep.
Type: grep ERROR documents/log.txt
grep ERROR documents/log.txt
Step 2
Do the same thing using a pipe: cat the file and pipe to grep.
Step 3
Count how many ERROR lines there are using grep and wc.
Step 4
Search for "example" in the contacts file.
Step 5
Search for "info" case-insensitively using the -i flag.