[CentOS] Sort logfiles on common lines?

Sun Sep 25 19:10:03 UTC 2011
Frank Cox <theatre at sasktel.net>

On Sun, 25 Sep 2011 21:51:51 +0300
Dotan Cohen wrote:

> Is there a way to get the most common (unique) lines of the file?

If you want what I think you want, a combination of cut and sort will do it.

>By the way, I'm not sure if this is RHEL or CentOS, or which version:
> I assume that it is one of these, as Yum is installed. How would I find out?

cat /etc/redhat-release

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!