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

Re: Basic bash question.



On Mon, Mar 03, 2008 at 07:33:20PM -0800, Luis Maceira wrote:
> How can I see all the messages generated by
> a bash command (configure make make install,
> for example) to standard output(computer screen),
> and at the same time make sure that all is
> written to a text file for later analysis.
> It is a redirection but I don´t know how to make
> both things happen at the same time.
> Is that possible?With all the bash commands?
> 
> Without GUI(X),all command line environment.

tee

From the man page:

tee - read from standard input and write to standard output and files

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036

Attachment: signature.asc
Description: Digital signature


Reply to: