Mailing List Archive

Support open source code!


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

Re: tlug: To screen and file



On Mon, Apr 26, 1999 at 03:38:35PM +0000, Darren Cook wrote:
> I saw this in some installation instructions:
>   make all >& make.log &
>   tail -f make.log
> 
> Isn't there an easier way to have stdout go to a file while still going to
> screen? If there is nothing built into bash, surely there must be a utility
> something like this?
>   make all | logit make.log

Try 'tee'.  It continues the "pipe" analogy by taking its standard input and
sending it to both standard output and file(s).

-- 
Jim Tittsler, Tokyo   ICQ: 5981586

-------------------------------------------------------------------
Next Nomikai: TBD                    Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: June 12 (Sat), 12  :30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links