Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] stdin/stderr redirection under Solaris
- Date: Wed, 25 Aug 2004 00:40:30 -0700 (PDT)
- From: Gerald Naughton <naughton123@example.com>
- Subject: Re: [tlug] stdin/stderr redirection under Solaris
Hi --- Jean-Christian Imbeault <jean-christian.imbeault@example.com> wrote: > 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 Try bash cmd > file 2>&1 g __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail
- Follow-Ups:
- Re: [tlug] stdin/stderr redirection under Solaris
- From: Jean-Christian Imbeault
- References:
- [tlug] stdin/stderr redirection under Solaris
- From: Jean-Christian Imbeault
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] can't type in japanese
- Next by Date: Re: [tlug] stdin/stderr redirection under Solaris
- Previous by thread: [tlug] stdin/stderr redirection under Solaris
- Next by thread: Re: [tlug] stdin/stderr redirection under Solaris
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links