
Datei 1:
1234567890123456,00,00,000
1111111111111111,11,11,1111
Datei 2
1111111111111111,11,11,1111
9999999999999999,99,99,999
Ich möchte also wissen, was in Datei 1 in Datei 2 ist.
Ausgabe:
1111111111111111,11,11,1111
Antwort1
Mit dem folgenden Befehl konnte ich mein Problem lösen
grep -Fxf file1 file2