To suppress all output for cases in which only success or failure status is wanted, as in a shell script, close standard output and standard error or redirect them both to /dev/null.
/dev/null