The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 12-09-2004
encrypted's Avatar
encrypted encrypted is offline
Registered User
 

Join Date: Feb 2004
Location: Oslo, Norway
Posts: 218
Quote:
find the number of occurence of a specified pattern in a file
grep -c <pattern> <filename>

:-0
Reply With Quote