Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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

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

    
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

Try redirecting the error output to /dev/null:

wc whatever 2>/dev/null
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.