Pario TechnoBlob
About
Posts
Tag: stderr
How do I save or redirect stdout and stderr into different files?
Q. I need to run a program called oraMon.pl. However this program is run from cron job. It report error to stderr and normal output to stdout. How do I save stdout, stderr and...
Bash redirection
Theory and quick reference There are 3 file descriptors, stdin, stdout and stderr (std=standard). Basically you can: redirect stdout to a file redirect stderr to a file...
someprog > /dev/null 2>&1
The first part, “> /dev/null” means send standard output to the ‘bit bucket” or in other words, throw it away. The second part, “2>&1” means “redirect standard error...