wget output to null

Written by Peter Davies on .

If you need to ignore all output from a wget command the trick we've found is to:

wget -q "http://www.domain.com/export.php" -O /dev/null &> /dev/null 2>&1