md5sum for entire device

Viewed 25

I try to get the checksum of an external device like an USB stick or an external SSD. I am using AlmaLinux and I want to use the md5sum command in the terminal. Is it possible to calculate the checksum for a device or is it only possible for a single file? I am looking for something like md5sum <device>.

Thanks for your time!

0 Answers
Related