Hands-on task
Twins by sha256
/srv/images holds firmware images. Exactly two of them have identical contents, even though their names differ (and some others share the same size). Find that pair by SHA-256 checksums and write their names (without the path), one per line, in alphabetical order to /root/twins.txt.
- sha256sum
- checksums
- finding duplicates
- uniq -d
- comparing contents