Answer the question
In order to leave comments, you need to log in
How to compare 2 files in linux?
Hello! How to use bash to compare 2 files and show only the line that is missing in the second file?
I do diff -ui file1 ..file2 | grep строка
, and the output
is + line - line
,
although the "line" is in both files, only in different places. Please help with a solution.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question