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

Re: Basic bash question.

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....
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Reply to: