Ever wondered how to sort /etc/group by gid

, par  Eric DANNIELOU , popularité : 2%

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

Sites favoris Tous les sites

84 sites référencés dans ce secteur