What cat … | grep does
Feed a file's contents into grep through a pipe.
catlog.txt|greperror
cat— command — print a file's contentslog.txt— argument: a file, a folder, or text|— pipe: the previous command's output becomes the next one's inputgrep— command — find lines matching a patternerror— argument: a file, a folder, or text