SpinTheMic
Pro

Explain it in 60 seconds

Pipes and redirection

Cloud & DevOps · Linux and Scripting · Beginner

What do pipes and redirection do in the shell?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • | sends output of one command to another.
  • > writes output to file (overwrite), >> appends.
  • < reads input from file.
  • 2> redirects errors; 2>&1 merges.
  • Build powerful one-liners.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics