# Bash Redirect all output to /dev/null

This come up from time to time. When I’m running a bash sript and I want all the output to be redirected to /dev/null

Sticking > /dev/null 2>&11 at the end of a command will send all output to /dev/null, this goes for both the stdout and stderr.