Ubuntu bash command wc

1

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

pedro

Posted 2010-03-25T15:56:41.083

Reputation:

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 – 2010-03-25T16:00:10.840

1Please 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 – 2010-03-25T18:04:07.813

Answers

1

Try redirecting the error output to /dev/null:

wc whatever 2>/dev/null

legoscia

Posted 2010-03-25T15:56:41.083

Reputation: 2 197