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

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

 



* Ben Stringer <ben@xxxxxxxxxxx> [24-Jan-2004 00:56]:
> > I'm afraid I fail to see how any of this is easier than scrolling up
> > once in the buffer, and adding a "| grep whatever".
> 
> I'm presuming because the resource and time cost of running the original
> command is not something you want to repeat. 
> 
> Eg. if the find ran over 2TB of disk and took 15 minutes to complete.
> 
> Or the output is time-volatile.

[root@gorilla tmp]# cd /home
[root@gorilla home]# time find >/dev/null

real    1m28.762s
user    0m0.130s
sys     0m0.670s
[root@gorilla home]# time find >/dev/null

real    0m48.801s
user    0m0.110s
sys     0m0.330s

Now, if I will copy-paste the output of find here (instead of
/dev/null), it will take you more then 48 seconds to scroll through it.
:)

-- 
 Leonid Mamtchenkov.
 http://www.leonid.maks.net

BOFH: Hard drive sleeping. Let it wake up on it's own...




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

  Powered by Linux