Redirection and text processing · Question 7 of 12
What does the | character between two commands do?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A The output of the first command becomes the input of the second
Explanation
This is a pipe: in ls | wc -l, wc reads the output of ls. Continuing only on failure is done with || instead.