What is the option in "wc" command to view without showing erros message

link|improve this question
Can you clarify your question a bit? What do you mean by "without showing erros [I assume that's meant to be 'error'] message"? – mmyers Mar 25 '10 at 16:00
1  
Please give us the exact command you are typing, and the exact output of the command, highlighting the error messages that you do not wish to see. – davr Mar 25 '10 at 18:04
feedback

migrated from stackoverflow.com Mar 25 '10 at 16:11

This question came from our site for professional and enthusiast programmers.

1 Answer

Try redirecting the error output to /dev/null:

wc whatever 2>/dev/null
link|improve this answer
feedback

Your Answer

 
or
required, but never shown