Take stderr output and redirect it to stdout.
# Redirect stdout to /dev/null, and then redirect stderr to stdout command >/dev/null 2>&1 # You can pipe it to another command command >/dev/null 2>&1 | grep 'your word'