|noname on nfs mount: mount: /mount/point…|
|rb on hpacucli|
|nimish on hpacucli|
|Barznj on hpacucli|
|Mr WordPress on mpathadm|
Just another WordPress.com site
How to sort by user uid , from /etc/passwd file.
$ sort -t: -k 3,4 -g /etc/passwd
-t = identifies the field separator colon (:)
-k 3,4 = determines the order in which fields will be compared for the sort.
3rd field (UID) followed by the 4th field (GID)
-g = sort to occur numerically
How to sort by group gid , from /etc/group file.
$ sort -t: -k 3 -g /etc/group