Security and Technology Ramblings…

This will list only those entries in file2 that are not in file1.

diff file2 file1 | grep ‘^>’ | sed ‘s/^>\ //’

Leave a Reply