Re: bash: any way to reuse the last output?

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

 



On Fri, 2004-01-23 at 16:20, Herculano de Lima Einloft Neto wrote:
> Hello all,
> 
>     This happens all the time: after an intricate find, I decide
> to grep something out of that very same find, for instance. It
> would be nice to have some tweak to reuse the last output without
> having to run the command again. Anyone?

You could use the "script" command to save all shell session output to a
file, in case it is needed.

Or you could get into the habit of appending "| tee /tmp/<uniquename>"
each time you run a command you are likely to want to reuse output from.

Cheers, Ben




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux