PHP + MySQL Resources / Class
Programming, php, MySQL, javascript, html, css .....
11/21/2013
count the appearance times of string in file
When you want to count the appearance lines of one special string in a file, you may use
grep -o will-fined-string /path/to/file | wc -l
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment