Ever wondered how to sort /etc/group by gid
vendredi 24 août 2012
par
popularité : 7%
par
popularité : 7%
Just a quick post about reordering /etc/group using sort. As time goes, /etc/group is often unsorted as some groups were added and some others removed. The sort command has the ability to use alternative separator and to sort using arbitrary field :
sort -t":" -nk 3 /etc/group
Cet article est repris du site http://blog.nordbeastie.org/?p=275