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

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

 



On Fri, 23 Jan 2004 03:36:31 -0200, Herculano de Lima Einloft Neto wrote:

> Justin Churchey wrote:
>> Have you tried piping it to the grep comand?
>> 
>> For instance,
>> 
>> find file director | grep whateveritisyourlookingfor
> 
> Well, to do that I would have to run the command again, now wouldn't I?
> :)
> 
> Thanks,
> --
> Herculano de Lima Einloft Neto

You could always save the output to a file and then use cat
e.g. locate so > t.txt
cat t.txt | grep whatever




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

  Powered by Linux