Linux Terminal Glossary
›
I/O Redirection & Pipes
command 2> error.log
Category:
I/O Redirection & Pipes
command 2> error.log
Copy command
Redirect stderr to a file
Saves error messages (stderr, file descriptor 2) to a file separately from normal output.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.