I found a neat CLI tool today. Check out man comm

comm – select or reject lines common to two files

Try it out! ls > 1.txt && ls | sed '$d' > 2.txt && comm 1.txt 2.txt

Gwendolyn James @gwynforthewyn