Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] stdin/stderr redirection under Solaris



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

Home Page Mailing List Linux and Japan TLUG Members Links