Post thumbnail of Stop piping cat into grep
12 February 2010
Continue reading Stop piping cat into grep

Stop piping cat into grep

Why cat something and pipe it into grep when grep can easily search a file by itself. It’s like taking your car to the dealership so you can change your own oil. What? No that doesn’t really make any sense. But neither does piping cat into grep. If you’re dealing with large files or complicated expressions, the reason you shouldn’t cat something into a pipe just to grep it becomes obviously clear.

Post thumbnail of Cat your logs backwards to preserve the date order
29 May 2009
Continue reading Cat your logs backwards to preserve the date order

Cat your logs backwards to preserve the date order

cat files backwards to preserve the date order.

Powered by Wordpress   |   Lunated designed by ZenVerse