Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|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
add comment

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
share|improve this answer
add comment

Your Answer

 
discard

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