Re: Sort logfiles on common lines?

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



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!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux