Skip to content

Glossary: Linux for Developers

/dev/null

A special file that throws away anything written to it. `2>/dev/null` hides error messages, and `-o /dev/null` discards a curl response body.

Where the book teaches it

Related terms

2>&1 (redirect errors)