First of all, sorry for my typing in English... anyway..
Now I'm working on the assignment manipulating users' and groups' information.
I gotta find a way to display only 'Group ID' and 'Group Name' fields. 've been tried to find a command to do the task, but failed.
Finally I happened to stuck with the file, '/etc/group' and tried to extract the certain feilds like this...
'head -$count /etc/group | tail -1 | sed -e 's/[":x:"[:digit:]:]//g'
Extracting the 'Group ID' field in the way above was quite acceptable, at least I got the correct information, but getting the 'Group Name' fields is such a mess, it came out to be like 'rootroot' instead of just 'root', you know, or 'binroot,bin,daemon' instead of just 'binroot.'