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

Re: Basic bash question.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

joseph lockhart wrote:
> 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.
> 
> I would try 
> 
> some command && some command > some file
> 
> or with a practical example
> 
> weather slo && weather slo > weather
> 
> the && is the "and" command for bash
> 
> 
> jwlockhart
> 
> Registered Linux User #458799
> Registered Kubuntu User #19678
> this user is penguin powered
>        
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Only useful if the command doesn't take that long to run.. or if it'll
produce the same output twice, i'll bet the log of `make' the second
time round is thrilling if all goes well....
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzN6bLeTfO4yBSAcRAiF6AJ9TwAAszvZMKAMbKb8Te95pVYiV5wCgrBE2
T1DqMym1bRHh639M6RbMjN8=
=MZ9O
-----END PGP SIGNATURE-----


Reply to: