
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] stdin/stderr redirection under Solaris
- Date: Wed, 25 Aug 2004 16:29:49 +0900
- From: Jean-Christian Imbeault <jean-christian.imbeault@example.com>
- Subject: [tlug] stdin/stderr redirection under Solaris
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Sorry since this is not a Linux only question, but I've been having a
hell of a time trying to figure out how to redirect stdout and stderr
separately under Solaris (in any shell).
Can this be done in Solaris?
pipe the stdout of a program to prog1 while piping the stderr to prog2
and put the process in the background?
Something like:
$ nohup prog.sh 1> | /usr/local/sbin/cronolog logs/%Y/%m/%d/error.log 2>
| /usr/local/sbin/cronolog logs/%Y/%m/%d/error.log &
Thanks,
Jc
Home |
Main Index |
Thread Index