So, you are looking for only the outputs without error messages?
This can be achieved using an error redirect to /dev/null.

Shell commanding or script error redirect syntax
Code:
COMMAND 2> /dev/null

Example:
Code:
# one line
grep password *.txt 2> /dev/null
#while running a script
./yourScript.sh 2> /dev/null
Contents that are redirected to /dev/null will not be shown on the screen.