{
    "content": [
        {
            "type": "text",
            "text": "# SHA256SUM (man)\n\n## NAME\n\nsha256sum - compute and check SHA256 message digest\n\n## SYNOPSIS\n\nsha256sum [OPTION]... [FILE]...\n\n## DESCRIPTION\n\nPrint or check SHA256 (256-bit) checksums.\n\n## TLDR\n\n> Calculate SHA256 cryptographic checksums.\n\n- Calculate the SHA256 checksum for one or more files:\n  `sha256sum {{path/to/file1 path/to/file2 ...}}`\n- Calculate and save the list of SHA256 checksums to a file:\n  `sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}`\n- Calculate a SHA256 checksum from `stdin`:\n  `{{command}} | sha256sum`\n- Read a file of SHA256 checksums and filenames and verify all files have matching checksums:\n  `sha256sum {{-c|--check}} {{path/to/file.sha256}}`\n- Only show a message for missing files or when verification fails:\n  `sha256sum {{-c|--check}} --quiet {{path/to/file.sha256}}`\n- Only show a message when verification fails, ignoring missing files:\n  `sha256sum --ignore-missing {{-c|--check}} --quiet {{path/to/file.sha256}}`\n- Check a known SHA256 checksum of a file:\n  `echo {{known_sha256_checksum_of_the_file}} {{path/to/file}} | sha256sum {{-c|--check}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (11 subsections)\n- **AUTHOR**\n- **REPORTING BUGS**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SHA256SUM",
        "section": "",
        "mode": "man",
        "summary": "sha256sum - compute and check SHA256 message digest",
        "synopsis": "sha256sum [OPTION]... [FILE]...",
        "tldr_summary": "Calculate SHA256 cryptographic checksums.",
        "tldr_examples": [
            {
                "description": "Calculate the SHA256 checksum for one or more files",
                "command": "sha256sum {{path/to/file1 path/to/file2 ...}}"
            },
            {
                "description": "Calculate and save the list of SHA256 checksums to a file",
                "command": "sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}"
            },
            {
                "description": "Calculate a SHA256 checksum from `stdin`",
                "command": "{{command}} | sha256sum"
            },
            {
                "description": "Read a file of SHA256 checksums and filenames and verify all files have matching checksums",
                "command": "sha256sum {{-c|--check}} {{path/to/file.sha256}}"
            },
            {
                "description": "Only show a message for missing files or when verification fails",
                "command": "sha256sum {{-c|--check}} --quiet {{path/to/file.sha256}}"
            },
            {
                "description": "Only show a message when verification fails, ignoring missing files",
                "command": "sha256sum --ignore-missing {{-c|--check}} --quiet {{path/to/file.sha256}}"
            },
            {
                "description": "Check a known SHA256 checksum of a file",
                "command": "echo {{known_sha256_checksum_of_the_file}} {{path/to/file}} | sha256sum {{-c|--check}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-b",
                "long": "--binary",
                "arg": null,
                "description": "read in binary mode"
            },
            {
                "flag": "-c",
                "long": "--check",
                "arg": null,
                "description": "read SHA256 sums from the FILEs and check them --tag create a BSD-style checksum"
            },
            {
                "flag": "-t",
                "long": "--text",
                "arg": null,
                "description": "read in text mode (default)"
            },
            {
                "flag": "-z",
                "long": "--zero",
                "arg": null,
                "description": "end each output line with NUL, not newline, and disable file name escaping"
            },
            {
                "flag": "",
                "long": "--ignore-missing",
                "arg": null,
                "description": "don't fail or report status for missing files"
            },
            {
                "flag": "",
                "long": "--quiet",
                "arg": null,
                "description": "don't print OK for each successfully verified file"
            },
            {
                "flag": "",
                "long": "--status",
                "arg": null,
                "description": "don't output anything, status code shows success"
            },
            {
                "flag": "",
                "long": "--strict",
                "arg": null,
                "description": "exit non-zero for improperly formatted checksum lines"
            },
            {
                "flag": "-w",
                "long": "--warn",
                "arg": null,
                "description": "warn about improperly formatted checksum lines --help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit The sums are computed as described in FIPS-180-2. When checking, the input should be a for‐ mer output of this program. 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 insignifi‐ cant), and name for each FILE. Note: There is no difference between binary mode and text mode on GNU systems."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-b --binary",
                        "lines": 2,
                        "flag": "-b",
                        "long": "--binary"
                    },
                    {
                        "name": "-c --check",
                        "lines": 4,
                        "flag": "-c",
                        "long": "--check"
                    },
                    {
                        "name": "-t --text",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--text"
                    },
                    {
                        "name": "-z --zero",
                        "lines": 2,
                        "flag": "-z",
                        "long": "--zero"
                    },
                    {
                        "name": "The following five options are useful only when verifying checksums:",
                        "lines": 1
                    },
                    {
                        "name": "--ignore-missing",
                        "lines": 2,
                        "long": "--ignore-missing"
                    },
                    {
                        "name": "--quiet",
                        "lines": 2,
                        "long": "--quiet"
                    },
                    {
                        "name": "--status",
                        "lines": 2,
                        "long": "--status"
                    },
                    {
                        "name": "--strict",
                        "lines": 2,
                        "long": "--strict"
                    },
                    {
                        "name": "-w --warn",
                        "lines": 4,
                        "flag": "-w",
                        "long": "--warn"
                    },
                    {
                        "name": "--version",
                        "lines": 9,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "sha256sum - compute and check SHA256 message digest\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "sha256sum [OPTION]... [FILE]...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Print or check SHA256 (256-bit) checksums.\n\nWith no FILE, or when FILE is -, read standard input.\n",
                "subsections": [
                    {
                        "name": "-b --binary",
                        "content": "read in binary mode\n",
                        "flag": "-b",
                        "long": "--binary"
                    },
                    {
                        "name": "-c --check",
                        "content": "read SHA256 sums from the FILEs and check them\n\n--tag  create a BSD-style checksum\n",
                        "flag": "-c",
                        "long": "--check"
                    },
                    {
                        "name": "-t --text",
                        "content": "read in text mode (default)\n",
                        "flag": "-t",
                        "long": "--text"
                    },
                    {
                        "name": "-z --zero",
                        "content": "end each output line with NUL, not newline, and disable file name escaping\n",
                        "flag": "-z",
                        "long": "--zero"
                    },
                    {
                        "name": "The following five options are useful only when verifying checksums:",
                        "content": ""
                    },
                    {
                        "name": "--ignore-missing",
                        "content": "don't fail or report status for missing files\n",
                        "long": "--ignore-missing"
                    },
                    {
                        "name": "--quiet",
                        "content": "don't print OK for each successfully verified file\n",
                        "long": "--quiet"
                    },
                    {
                        "name": "--status",
                        "content": "don't output anything, status code shows success\n",
                        "long": "--status"
                    },
                    {
                        "name": "--strict",
                        "content": "exit non-zero for improperly formatted checksum lines\n",
                        "long": "--strict"
                    },
                    {
                        "name": "-w --warn",
                        "content": "warn about improperly formatted checksum lines\n\n--help display this help and exit\n",
                        "flag": "-w",
                        "long": "--warn"
                    },
                    {
                        "name": "--version",
                        "content": "output version information and exit\n\nThe  sums are computed as described in FIPS-180-2.  When checking, the input should be a for‐\nmer output of this program.  The default mode is to print a line with checksum,  a  space,  a\ncharacter  indicating  input mode ('*' for binary, ' ' for text or where binary is insignifi‐\ncant), and name for each FILE.\n\nNote: There is no difference between binary mode and text mode on GNU systems.\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by Ulrich Drepper, Scott Miller, and David Madore.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "GNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright © 2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3  or  later\n<https://gnu.org/licenses/gpl.html>.\nThis  is free software: you are free to change and redistribute it.  There is NO WARRANTY, to\nthe extent permitted by law.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Full documentation <https://www.gnu.org/software/coreutils/sha256sum>\nor available locally via: info '(coreutils) sha2 utilities'\n\n\n\nGNU coreutils 8.32                          January 2026                                SHA256SUM(1)",
                "subsections": []
            }
        }
    }
}