I'm doing some audit automation, this example describes checking the version of Java, even though other programs do the same thing. The output of "java -version" goes to STDERR, which is easily ...
I am familiar with output suppress on Unix machines, ie: cat /file/that/doesnt/exist > /dev/null 2>& However I can't seem to suppress the output of mount when an ext3 filesystem is ...
How do I pipe the standard error stream without piping the standard out stream? I know this command works, but it also writes the standard out. Command 2>&1 | tee -a $LOG How do I get ...
Is there a way to display errors summary (from stderr) after an application has finished? E.g. rsync with "--progress" displays LOTS of data, including errors. But when it finishes - it just says ...