linux redirect errors to nul code example
Example: bash stderr null
command > /dev/null # stderr
command > /dev/null 2>&1 # stdout and stderr
command &> /dev/null # stdout and stderr
command > /dev/null # stderr
command > /dev/null 2>&1 # stdout and stderr
command &> /dev/null # stdout and stderr