Linux CLI - Pipes and Redirection
Which of the following correctly demonstrates how to connect the output of
ls to the input of grep using a pipe in Linux?ls to the input of grep using a pipe in Linux?| sends the output of the command on its left as input to the command on its right.| correctly to connect ls and grep. ls > grep 'txt' uses redirection incorrectly, ls & grep 'txt' runs commands in background separately, and ls ; grep 'txt' runs commands sequentially but not connected.| connects commands [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions