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



>>>>> "Darren" == Darren Cook <darren@example.com> writes:

make all | tee make.log

- Dmytro



    Darren> I saw this in some installation instructions: make all >&
    Darren> make.log & tail -f make.log

    Darren> Isn't there an easier way to have stdout go to a file
    Darren> while still going to screen? If there is nothing built
    Darren> into bash, surely there must be a utility something like
    Darren> this?  make all | logit make.log

    Darren> Where "logit" would read a character from stdin then
    Darren> writes it to stdout and to the file given in the
    Darren> commandline.

    Darren> Darren

    Darren> -------------------------------------------------------------------
    Darren> Next Nomikai: TBD Tengu TokyoEkiMae 03-3275-3691 Next
    Darren> Technical Meeting: June 12 (Sat), 12 :30 place: Temple
    Darren> Univ.
    Darren> -------------------------------------------------------------------
    Darren> more info: http://www.tlug.gr.jp Sponsor: Global Online
    Darren> Japan
-------------------------------------------------------------
Dmytro Kovalev
Tokyo FI UNIX SA, Consultant	
E-mail: dmytro.kovalev@example.com	
--------------------------------------------------------------
-------------------------------------------------------------------
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