[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shell cmd: group name from gid?



"Oliver Elphick" <olly@lfix.co.uk> writes:

> $ grep :27: /etc/group | awk -F: '{print $1}'
> sudo

That can be simpler:

$ awk -F: '$3==27 {print $1}' /etc/group

-- 
    Carey Evans  <*>  http://home.clear.net.nz/pages/c.evans/  gc

	       Neniu anticipas la hispanan Inkvizicion.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: