how to use grep -f and -v together
Solution 1:
Your command works as expected:
$ cat file1
b
c
$ cat file2
a
b
c
d
$ grep -Fxvf file1 file2
a
d
Your command works as expected:
$ cat file1
b
c
$ cat file2
a
b
c
d
$ grep -Fxvf file1 file2
a
d