Re: Basic bash question.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hhding wrote:
> Any method to redirect any fd to the pipe?
> Not only stdout,stderr.
>
> Chris Henry wrote:
>> Hi,
>> You can use tee. e.g. ./configure | tee filename
>>
>> Chris
>>
>> On Tue, Mar 4, 2008 at 11:33 AM, Luis Maceira
>> <luis_a_maceira@yahoo.com> 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.
>>>
>>>
>>> Thank you,in advance.
>>>
>>>
>>>
>>> ____________________________________________________________________________________
>>>
>>> Never miss a thing. Make Yahoo your home page.
>>> http://www.yahoo.com/r/hs
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>>> with a subject of "unsubscribe". Trouble? Contact
>>> listmaster@lists.debian.org
>>>
>>>
>>>
>>
>>
>>
>>
>
>
echo "RAWRRWAR" 2&>1 | tee filename
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHzM3+LeTfO4yBSAcRAsJ2AKC5Unczi+6BsNB0RxOlFp6WbGZ96QCdGUEe
7bgUFdyL5RnWsDFcS8S3VRo=
=jRHQ
-----END PGP SIGNATURE-----
Reply to: