I’m trying to apply the cmp command to a number of consecutive jpg files with same size but different name, in order to make sure they are the indeed same. Since there are almost 4000 files, I would like to create a for loop through them with cmp and produce a final output with the list of actual same files,
Tag: cmp
linux cmp utility output: what is a “line”?
Could someone tell me what the “line” number represents in the output of a cmp command? I ask this because, first, I can’t find it explained anywhere. Second, I am getting results comparing a set of files where the “char” outputs are identical (as expected) but the “line” outputs differ wildly. Answer The “line” outputs reflect the number of newline