Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix simple question grep command

Status
Not open for further replies.

121854

MIS
Aug 2, 2003
60
US
I need to search in three files (a1, b2, b3)for "rejected bans".

I would like to retrieve the "rejected bans" string located in these three files, Is there a unix command that I can executed that can provide me this information.

If someone know and let me know that would be great.

Try ls -ltr |grep a* | grep reject bans
but don't work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top