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