{
    "mode": "man",
    "parameter": "od",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/od/1/json",
    "generated": "2026-05-30T05:10:06Z",
    "synopsis": "od [OPTION]... [FILE]...\nod [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]]\nod --traditional [OPTION]... [FILE] [[+]OFFSET[.][b] [+][LABEL][.][b]]",
    "sections": {
        "NAME": {
            "content": "od - dump files in octal and other formats\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "od [OPTION]... [FILE]...\nod [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]]\nod --traditional [OPTION]... [FILE] [[+]OFFSET[.][b] [+][LABEL][.][b]]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Write  an  unambiguous  representation,  octal  bytes by default, of FILE to standard output.\nWith more than one FILE argument, concatenate them in the listed order to form the input.\n\nWith no FILE, or when FILE is -, read standard input.\n\nIf first and second call formats both apply, the second format is assumed if the last operand\nbegins  with + or (if there are 2 operands) a digit.  An OFFSET operand means -j OFFSET.  LA‐\nBEL is the pseudo-address at first byte printed, incremented when dump is  progressing.   For\nOFFSET  and LABEL, a 0x or 0X prefix indicates hexadecimal; suffixes may be . for octal and b\nfor multiply by 512.\n\nMandatory arguments to long options are mandatory for short options too.\n",
            "subsections": [
                {
                    "name": "-A --address-radix",
                    "content": "output format for file offsets; RADIX is one of [doxn], for  Decimal,  Octal,  Hex  or\nNone\n\n--endian={big|little}\nswap input bytes according the specified order\n",
                    "flag": "-A",
                    "long": "--address-radix"
                },
                {
                    "name": "-j --skip-bytes",
                    "content": "skip BYTES input bytes first\n",
                    "flag": "-j",
                    "long": "--skip-bytes"
                },
                {
                    "name": "-N --read-bytes",
                    "content": "limit dump to BYTES input bytes\n",
                    "flag": "-N",
                    "long": "--read-bytes"
                },
                {
                    "name": "-S --strings",
                    "content": "output  strings of at least BYTES graphic chars; 3 is implied when BYTES is not speci‐\nfied\n",
                    "flag": "-S",
                    "long": "--strings"
                },
                {
                    "name": "-t --format",
                    "content": "select output format or formats\n",
                    "flag": "-t",
                    "long": "--format"
                },
                {
                    "name": "-v --output-duplicates",
                    "content": "do not use * to mark line suppression\n",
                    "flag": "-v",
                    "long": "--output-duplicates"
                },
                {
                    "name": "-w[BYTES] --width",
                    "content": "output BYTES bytes per output line; 32 is implied when BYTES is not specified\n",
                    "long": "--width"
                },
                {
                    "name": "--traditional",
                    "content": "accept arguments in third form above\n\n--help display this help and exit\n",
                    "long": "--traditional"
                },
                {
                    "name": "--version",
                    "content": "output version information and exit\n",
                    "long": "--version"
                },
                {
                    "name": "Traditional format specifications may be intermixed; they accumulate:",
                    "content": ""
                },
                {
                    "name": "-a -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-b -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-c -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-d -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-f -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-i -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-l -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-o -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-s -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "-x -t",
                    "content": "",
                    "flag": "-t"
                },
                {
                    "name": "TYPE is made up of one or more of these specifications:",
                    "content": "a      named character, ignoring high-order bit\n\nc      printable character or backslash escape\n\nd[SIZE]\nsigned decimal, SIZE bytes per integer\n\nf[SIZE]\nfloating point, SIZE bytes per float\n\no[SIZE]\noctal, SIZE bytes per integer\n\nu[SIZE]\nunsigned decimal, SIZE bytes per integer\n\nx[SIZE]\nhexadecimal, SIZE bytes per integer\n\nSIZE is a number.  For  TYPE  in  [doux],  SIZE  may  also  be  C  for  sizeof(char),  S  for\nsizeof(short), I for sizeof(int) or L for sizeof(long).  If TYPE is f, SIZE may also be F for\nsizeof(float), D for sizeof(double) or L for sizeof(long double).\n\nAdding a z suffix to any type displays printable characters at the end of each output line.\n"
                },
                {
                    "name": "BYTES is hex with 0x or 0X prefix, and may have a multiplier suffix:",
                    "content": "b      512\n\nKB     1000\n\nK      1024\n\nMB     1000*1000\n\nM      1024*1024\n\nand so on for G, T, P, E, Z, Y.  Binary prefixes can be used, too: KiB=K, MiB=M, and so on.\n"
                }
            ]
        },
        "EXAMPLES": {
            "content": "",
            "subsections": [
                {
                    "name": "od -A x -t x1z -v",
                    "content": "Display hexdump format output\n"
                },
                {
                    "name": "od -A o -t oS -w16",
                    "content": "The default output format used by od\n"
                }
            ]
        },
        "AUTHOR": {
            "content": "Written by Jim Meyering.\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/od>\nor available locally via: info '(coreutils) od invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                       OD(1)",
            "subsections": []
        }
    },
    "summary": "od - dump files in octal and other formats",
    "flags": [
        {
            "flag": "-A",
            "long": "--address-radix",
            "arg": null,
            "description": "output format for file offsets; RADIX is one of [doxn], for Decimal, Octal, Hex or None --endian={big|little} swap input bytes according the specified order"
        },
        {
            "flag": "-j",
            "long": "--skip-bytes",
            "arg": null,
            "description": "skip BYTES input bytes first"
        },
        {
            "flag": "-N",
            "long": "--read-bytes",
            "arg": null,
            "description": "limit dump to BYTES input bytes"
        },
        {
            "flag": "-S",
            "long": "--strings",
            "arg": null,
            "description": "output strings of at least BYTES graphic chars; 3 is implied when BYTES is not speci‐ fied"
        },
        {
            "flag": "-t",
            "long": "--format",
            "arg": null,
            "description": "select output format or formats"
        },
        {
            "flag": "-v",
            "long": "--output-duplicates",
            "arg": null,
            "description": "do not use * to mark line suppression"
        },
        {
            "flag": "",
            "long": "--width",
            "arg": null,
            "description": "output BYTES bytes per output line; 32 is implied when BYTES is not specified"
        },
        {
            "flag": "",
            "long": "--traditional",
            "arg": null,
            "description": "accept arguments in third form above --help display this help and exit"
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "output version information and exit"
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [
        "Display hexdump format output",
        "The default output format used by od"
    ],
    "see_also": []
}