Append 2>/dev/null to the end of your command. This sends errors ( code 2 ) to “nowhere”, i.e. /dev/null