The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-23-2002
april04 april04 is offline
Registered User
  
 

Join Date: Oct 2002
Posts: 8
Unhappy grep command ~ Need help

Hello All

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