stderr

How do I redirect output and errors to /dev/null under bash / sh shell scripting? How do I redirect the output of stderr to stdout, and then redirect this combined output to /dev/null?

{ 18 comments }

I‘m running CentOS 5.x server with Apache 2.2 + PHP 5.x server. Can you tell me exact location for php error log file?

{ 4 comments }

Q. How do I redirect stderr to stdout? How do I redirect stderr to a file?

{ 9 comments }