What does the pipe operator do in ls -l | grep txt?
ls -l | grep txt
Feeds grep results backward into ls
grep
ls
Runs both commands independently without sharing data
Sends the standard output of ls -l to the standard input of grep txt
ls -l
grep txt
Writes the directory listing into a file named grep