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

Re: Basic bash question.



On Tue, Mar 04, 2008 at 12:10:25PM +0800, hhding wrote:
> Any method to redirect any fd to the pipe?
> Not only stdout,stderr.

If you mean both stdout and stderr

./configure 2>&1 | tee log.txt

would work. But I don't know if that is what you meant.

HTH.

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

Attachment: signature.asc
Description: Digital signature


Reply to: