Reese Knowledgebase

Check duplicate entries in passwd file

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 12
by: Reese K.
Posted: 28 May, 2011
Last updated: 28 May, 2011
Views: 1019

awk 'FS=":" {print $1}' /etc/passwd | sort | uniq -d

This article was:   Helpful | Not Helpful
Prev   Next
Solaris     Count network connections by IP address

RSS