how to send output to nothing linux code example Example 1: bash send to dev null command > /dev/null 2>&1 Example 2: shell redirect all to /dev/null command &>/dev/null