Answer» Hello,
Does anyone knows how to prevent the "find" command from outputing warnings?
As it searches, it lists things like : permission denied : permission denied : input/output error
So when I go back to look at it I can easily miss what it has found because it is lost in the middle of a long LIST of warnings.
I would like it to output only the result, or nothing if it hasn't found what I was looking for.
Thank you for any ideas.
Mariane
ASSUME I know nothing about Linux, but if it works like Windows, you can try: Code: [Select] find "ARG" filename > con 2> nul
There are REALLY two output streams from any command, STDOUT and STDERROR. Just a matter of directing the output.
Good luck. find whatever 2> /dev/null
|