redirected output out of control

John Abreau jabr at blu.org
Sun Apr 2 15:00:21 EDT 2006


John Kirby wrote:
> Hi BLU,
>
> Maybe this is a newbie error and I've been lucky not to encounter it before, 
> but your feedback is appreciated.
>
> I ran a command and unintentionally created an enormous text file that ate up 
> all the gigs of open space on the server:
> find -print0 | xargs -0 grep -i blah > blahInstances.txt
>   

I'd guess that the overwhelming majority of that that search found was 
instances of the string "blah" in the file "blahInstances.txt".

As for why your suse box didn't do the same, I would guess that maybe it 
just happened to search blahInstances.txt before it found the first 
"real" occurrence of "blah" elsewhere.

-- 
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99




More information about the Discuss mailing list