Ask Your Question
0

GNU-style file (checksum)

asked 2018-11-19 15:11:10 -0600

Davide Sestili gravatar image

What is the difference between the asterisk and the space in a checksum file in GNU-style?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-11-19 23:47:52 -0600

villykruse gravatar image

The "*" marks files which are non-text files.

info md5sum

edit flag offensive delete link more

Comments

And why do programs like Clonezilla use the space character for binary files?

Davide Sestili gravatar imageDavide Sestili ( 2018-11-20 10:37:57 -0600 )edit
1

Ask the programmer.

villykruse gravatar imagevillykruse ( 2018-11-20 11:04:14 -0600 )edit

Also Fedora 27 with the sha1sum command use the space character for both non-text files and text files.

Davide Sestili gravatar imageDavide Sestili ( 2018-11-21 06:11:22 -0600 )edit
1

Only if you don't specify -b or --binary

$ sha256sum info
f66af4e280cfedcab2bf745ece448548c66222af560c86a785a45cddb27a7fa0  info
$ sha256sum -t info
f66af4e280cfedcab2bf745ece448548c66222af560c86a785a45cddb27a7fa0  info
$ sha256sum -b info
f66af4e280cfedcab2bf745ece448548c66222af560c86a785a45cddb27a7fa0 *info

On Unix there is no real difference between binary and text files. It starts making a difference in the Microsoft world.

villykruse gravatar imagevillykruse ( 2018-11-21 09:21:41 -0600 )edit

OK, thanks!

Davide Sestili gravatar imageDavide Sestili ( 2018-11-21 10:50:10 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-11-19 15:11:10 -0600

Seen: 47 times

Last updated: Nov 19 '18