Paul Miller wrote: >Using bash, how can I get the group name of a gid?
Like this:
$ grep :27: /etc/group
sudo:x:27:
and to refine it:
$ grep :27: /etc/group | awk -F: '{print $1}'
sudo
--
Oliver Elphick [EMAIL PROTECTED]
Isle of Wight http://lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .

