linux - Output line from file1 if not found in file2 -
i need output lines file1 not found in file2, ideally using linux commandline.
both files uppercase a-z, sorted, per-file unique, , contain 1 word per line. typically, file1 between 5 , 100 lines long, file2 250,000 lines long. processing speed not issue.
grep -vhfxf file1 file2
works great.