Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to search for a string in large file?

by thezip (Vicar)
on Mar 18, 2014 at 16:59 UTC ( #1078813=note: print w/replies, xml ) Need Help??


in reply to how to search for a string in large file?

 grep <string> <filename> | wc -l


*My* tenacity goes to eleven...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-06-01 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (177 votes). Check out past polls.

    Notices?