Showing posts with label grep. Show all posts
Showing posts with label grep. Show all posts

Tuesday, September 3, 2013

UNIX - Command to count the number of times a string appears in a file




grep -c "input_string" filename