I am new to here and shell scripting ... and I need some help please
In /etc/group, how can I just grep the group that I want instead of the whole list? I just want "testabc", what do I have to do to get the "testabc" group information instead of all 4!
Thanks a lot for helping
For example:
In /etc/group
testabc
testabc1
testabc2
testabc3
Thanks for the reply
I am not sure what I did wrong, but it doesnt work
May be I shouldnt use grep command? Any other suggestion?
What will be the best way to grab the "word (group name)" information alternately on the group in /etc/group?