Linux Terminal Glossary
›
I/O Redirection & Pipes
command 2>&1
Category:
I/O Redirection & Pipes
command 2>&1
Copy command
Redirect stderr to the same destination as stdout
Merges error messages into the same stream as normal output. 2>&1 means 'send stderr (2) to wherever stdout (&1) goes'.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.