sh redirigir error a dev/null code example
Example 1: bash stderr null
command > /dev/null # stderr
command > /dev/null 2>&1 # stdout and stderr
command &> /dev/null # stdout and stderr
Example 2: shell redirect all to /dev/null
command &>/dev/null