I have two files that I want to compare. A sorted and an unsorted one.ex fileA (sorted) ABA  FRE  DIR ex fileB (unsorted) AJGHEKSLANVJJFABAKEIFJA  OPTOEKSMKVMGKVABAALKKSK is there a way to find which words from fileA exist in fileB?
Compare a sorted and an unsorted file
linux;file comparison