Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

redirected output out of control



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org