From: Curt Mills, WE7U (pbqnxif@sapuri.co.jp)
Date: Fri Oct 24 2003 - 18:47:01 EEST
On Fri, 24 Oct 2003 tfbdctql.fzod@kiev-city.net wrote:
> Ok I hadn't thought to grep for standard out (*slaps fingers*) nor
> redirecting the output, I'
> ll try that tonight. Otherwise those lines get pulled, thanks for the
> pointers :-)
You can also just start it up like this:
(program 2>&1) > /dev/null
That redirects STDERR to STDOUT inside a subshell (the
parenthesis), then redirections STDOUT to NULL. Works for most
things. You can use a similar method to make sure you get all
messages to a log file, both STDOUT and STDERR.
-- Curt Mills, WE7U wbqa@itep.ru Senior Methods Engineer/SysAdmin "Lotto: A tax on people who are bad at math!" "Windows: Microsoft's tax on computer illiterates!" -- WE7U "The world DOES revolve around me: I picked the coordinate system!"- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to ardbusj@mail.dy.fi More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Fri Oct 24 2003 - 18:47:35 EEST