I have two files A.txt and B.txt and it contains some lines of names.
A.txt
AS
DF
GH
B.txt
SS
WE
DF
TR
I want to delete content of A if it matches with content of B and want to save the new file in A only so i did something like this
grep -Fvxf B A
so i got output
AS
GH
But here i am unable to save the output in A only...please help.Thanks.