Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] [OT] Which openoffice

Neil Bothwick

2008-05-06

Replies: Find Java Web Hosting

Author LoginPost Reply
On Tue, 6 May 2008 10:11:07 +0200, Etaoin Shrdlu wrote:

> cat /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4"/30 +";}'

This uses three commands when one will do, there's no need for cat or grep

awk '/^cpu MHz/ {print $4"/30 +";}' /proc/cpuinfo

Similarly for the free command.

Longer isn't always better ;-)


--
Neil Bothwick

God: What one human uses to persecute another.

Attachment: signature.asc (zipped)
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.