grep lines in a file from another file

Hi

This is the scenario:

fileA:

st1
st2
st3
st6
.
.

fileB

st1
st6

I want fields in fileB to grep -v in fileA...Desired output:

fileC

st2
st3
.
.

Thanks
regards
Israel.

Hi

 grep -vf fileB fileA > fileC

Guru.

Working now! :slight_smile:

Thanks

I have a quick question here..

Is it possible to find out which values got ommitted ..just in case its a big file...