Linux CLI - Pipes and Redirection
What will be the output of the command sequence?
Assuming file.txt contains:
cat < file.txt | head -n 1
Assuming file.txt contains:
line1 line2 line3
cat < file.txt | head -n 1
line1 line2 line3
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions