Redirect stderr

Executes the command, redirecting stderr to a file. Specify `/dev/null` to ignore stderr completely.

Authored by: Mendel Cooper
Brought to you by Warp, a free terminal reimagined to work like a modern app.
command
file

Command
Copy
command 2> file
Tags