MD5SUM(1)

πŸ“¦
version 0.12.0 Β· 4 versions
, in ubuntu stonking

πŸ’– MD5SUM(1) πŸ’–

okay bestie, welcome to the General Commands Manual entry for md5sum β€” she's a coreutils girlie and she's literally the moment ✨


🌸 NAME 🌸

md5sum β€” print or check the MD5 checksums. that's it, that's the job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

md5sum [OPTIONS] [FILE]...

πŸ¦‹ DESCRIPTION πŸ¦‹

Print or check the MD5 checksums 🫢

like, either she's making checksums for you, or she's checking the ones you already have. no in-between, no drama (well, a little drama when verification fails, obviously).


✨ OPTIONS ✨

  • -c, --check β€” read checksums from the FILEs and check them πŸ‘‘ this is the "verify my stuff pls" mode.
  • -w, --warn β€” warn about improperly formatted checksum lines. she will speak up, gently but firmly πŸ™ˆ
  • --status β€” don't output anything, status code shows success. silent queen energy, results only 🀫
  • --quiet β€” don't print OK for each successfully verified file. no need to hype every single win, we get it πŸ’œ
  • --ignore-missing β€” don't fail or report status for missing files. if it's not there, we simply don't talk about it πŸ’€
  • --strict β€” exit non-zero for improperly formatted checksum lines. zero tolerance policy, periodt πŸ”₯
  • --tag β€” create a BSD style checksum πŸ“
  • -z, --zero β€” end each output line with NUL, not newline, and disable file name escaping ⭐
  • -h, --help β€” Print help 🧚
  • -V, --version β€” Print version πŸ’–

🌈 VERSION 🌈

v(uutils coreutils) 0.12.0


πŸ’« EXAMPLES πŸ’«

Calculate the MD5 checksum for one or more files:

md5sum path/to/file1 path/to/file2 ...

Calculate and save the list of MD5 checksums to a file:

md5sum path/to/file1 path/to/file2 ... > path/to/file.md5

Calculate an MD5 checksum from stdin:

command | md5sum

Read a file of MD5 checksums and filenames and verify all files have matching checksums:

md5sum [-c|--check] path/to/file.md5

Only show a message for missing files or when verification fails:

md5sum [-c|--check] --quiet path/to/file.md5

Only show a message when verification fails, ignoring missing files:

md5sum --ignore-missing [-c|--check] --quiet path/to/file.md5

Check a known MD5 checksum of a file:

echo known_md5_checksum_of_the_file path/to/file | md5sum [-c|--check]
The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. πŸ₯Ί (not her fault, she's still growing!!)

and that's a wrap bestie πŸŽ€ this page is from uutils coreutils v0.12.0, dated 2026-09-25. go checksum something and slay πŸ’…βœ¨

πŸ“¦ where this page comes from