To hide the standard error (stderr) or standard output (stdout) messages produced by a program, redirect them to /dev/null, a special file that swallows all data written to it.
Hide stdout:
the_program > /dev/null
(Shorthand for the_program 1> /dev/null
)
Hide stderr:
the_program 2> /dev/null
Hide stdout and stderr:
the_program &> /dev/null