Count number of occurrence of all the lines in multiple files and where they were occurred with python or cmd

Published: 9/10/2019
Count number of occurrence of all the lines in multiple files and where they were occurred with python or cmd
Source: STACKOVERFLOW.COM

I want to find the best way in terms of performance when working with files. I have multiple list of domians [strings] in multiple files, and I want to count number of occurrence of each domain and all the name of files that the domain were exist .. what is the fast way to do it ? Is it faster to be done with python ? or directly with command line ? this is the command that I want to apply it for

Read more
Related news
Comment
FACEBOOK