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