Skip to content

Glossary: Command Line for IT: Bash and PowerShell

redirection

Also written: >, >>, 2>

Sends a command's output to a file instead of the screen: > replaces the file, >> adds to it, and 2> sends errors there. bash reads redirections left to right.

Where the book teaches it

Related terms

2>&1teestandard outputstandard error