Can any one suggest me on below requirements with less memory and cpu time.
I have used below code and seems it is not efficient for huge files.
fgrep -v -f file2 file1 >file3
This will output file3 containing all lines from file1 that are not in file2.
file1 contains list of 2Lakh 10 digit numbers and
file2 varies between list of almost 8-10 cores 10 digit numbers
i want to be extract the number from file1 which are not there in file2.
please guide me which command will be good or any perl script will be helpfull.
I am new to perl but i can mange.