The output contains one line per file of the form
"{hash} SPACE ASTERISK [{directory} SLASH] {filename}".
So what does * mean?
The output contains one line per file of the form
"{hash} SPACE ASTERISK [{directory} SLASH] {filename}".
So what does * mean?
From the sha1sum(1) man page:
The default mode is to print a line with checksum, a space, a character indicating input mode ('*' for binary, ' ' for text or where binary is insignificant), and name for each FILE.
Therefore, it means that the file is binary when knowing that is significant.
*or(2 spaces) between hash and filename? Is it the same for md5sum and other checksums? – Smit Johnth Nov 24 '17 at 00:04CR/LFas a new-line sequence, while Linux and OSX useLF. A text file would show different binary check-sums if transferred between Windows and Linux/OSX in Ascii mode, but identifying the file type as text makes sure that the check-sums are the same on each OS by taking account of the local new-line sequence. – AFH Nov 24 '17 at 00:48sha1sum, but other software reads aCR/LFsequence on Windows as if it were a singleLF, and I guesssha1sumdoes this for check-sum compatibility with non-Windows systems. – AFH Nov 24 '17 at 11:12