od(1)

πŸ“¦
version 0.7.0 Β· 4 versions
, in epel 10, fedora 43

πŸ’– od(1) β€” the dump-files-in-every-format girlie πŸ’–

okay so bestie, meet od β€” she lives in section 1 of the manual (General Commands Manual, the command girlies), and her whole thing is dumping files in octal and other formats. that's it. that's the job. she takes your file and shows you its bytes in whatever cute little format you ask for ✨


🌸 SYNOPSIS 🌸

od [--help] [-A|--address-radix] [-j|--skip-bytes] [-N|--read-bytes]
[--endian] [-S|--strings] [-a ] [-b ] [-c ] [-d ] [-D ] [-o ] [-I ] [-L
] [-i ] [-l ] [-x ] [-h ] [-O ] [-s ] [-X ] [-H ] [-e ] [-f ] [-F ]
[-t|--format] [-v|--output-duplicates] [-w|--width] [--traditional]
[-V|--version] [FILENAME]

🫢 DESCRIPTION 🫢

Dump files in octal and other formats πŸ’…

that's the vibe. octal and other formats, no cap.


✨ OPTIONS ✨

  • --help β€” Print help information. your little "what do i even do" button πŸ₯Ί
  • -A, --address-radix <RADIX> β€” Select the base in which file offsets are printed. yes bestie, you get to pick the base for the offsets, main character energy πŸ”₯
  • -j, --skip-bytes <BYTES> β€” Skip bytes input bytes before formatting and writing. (yes it says "bytes input bytes", i don't make the rules, i just deliver them πŸ’€)
  • -N, --read-bytes <BYTES> β€” limit dump to BYTES input bytes. like a little portion control πŸ“
  • --endian <big|little> β€” byte order to use for multi-byte formats

Possible values:

  • big
  • little
  • -S, --strings [<BYTES>] β€” output strings of at least BYTES graphic chars. 3 is assumed when BYTES is not specified. so if you don't say a number, it's 3, periodt.
  • -a β€” named characters, ignoring high-order bit
  • -b β€” octal bytes
  • -c β€” ASCII characters or backslash escapes
  • -d β€” unsigned decimal 2-byte units
  • -D β€” unsigned decimal 4-byte units
  • -o β€” octal 2-byte units
  • -I β€” decimal 8-byte units
  • -L β€” decimal 8-byte units
  • -i β€” decimal 4-byte units
  • -l β€” decimal 8-byte units
  • -x β€” hexadecimal 2-byte units
  • -h β€” hexadecimal 2-byte units
  • -O β€” octal 4-byte units
  • -s β€” decimal 2-byte units
  • -X β€” hexadecimal 4-byte units
  • -H β€” hexadecimal 4-byte units
  • -e β€” floating point double precision (64-bit) units
  • -f β€” floating point single precision (32-bit) units
  • -F β€” floating point double precision (64-bit) units
  • -t, --format <TYPE> β€” select output format or formats. the choose-your-own-adventure of it all 🌈
  • -v, --output-duplicates β€” do not use * to mark line suppression. she said NO asterisks today 🚫
  • -w, --width [<BYTES>] β€” output BYTES bytes per output line. 32 is implied when BYTES is not specified. no number? it's 32. iconic default behavior πŸ’–
  • --traditional β€” compatibility mode with one input, offset and label. old-school but make it fashion πŸ‘‘
  • -V, --version β€” Print version

πŸ¦‹ EXTRA πŸ¦‹

Displays data in various human-readable formats. If multiple formats are specified, the output will contain all formats in the order they appear on the command line. Each format will be printed on a new line. Only the line containing the first format will be prefixed with the offset. πŸ“

If no filename is specified, or it is -, stdin will be used. After a --, no more options will be recognized. This allows for filenames starting with a -. so yes, you can absolutely have a file called -weirdname and she'll handle it 🫢

If a filename is a valid number which can be used as an offset in the second form, you can force it to be recognized as a filename if you include an option like -j0, which is only valid in the first form. iykyk 😌

RADIX is one of o,d,x,n for octal, decimal, hexadecimal or none. (the n is the "none" of it all, no address column for you πŸ’…)

BYTES is decimal by default, octal if prefixed with a "0", or hexadecimal if prefixed with "0x". The suffixes b, KB, K, MB, M, GB, G, will multiply the number with 512, 1000, 1024, 1000^2, 1024^2, 1000^3, 1024^3, 1000^2, 1024^2. yes bestie, the list literally ends with 1000^2, 1024^2 again, that's just how she wrote it, we don't question the queen πŸ™ˆ

OFFSET and LABEL are octal by default, hexadecimal if prefixed with "0x" or decimal if a "." suffix is added. The "b" suffix will multiply with 512. ⭐

TYPE contains one or more format specifications consisting of:

  • a for printable 7-bits ASCII
  • c for utf-8 characters or octal for undefined characters
  • d[SIZE] for signed decimal
  • f[SIZE] for floating point
  • o[SIZE] for octal
  • u[SIZE] for unsigned decimal
  • x[SIZE] for hexadecimal SIZE is the number of bytes which can be the number 1, 2, 4, 8 or 16,
  • or C, S, I, L for 1, 2, 4, 8 bytes for integer types,
  • or F, D, L for 4, 8, 16 bytes for floating point. Any type specification can have a "z" suffix, which will add a ASCII dump at the end of the line.

If an error occurred, a diagnostic message will be printed to stderr, and the exit code will be non-zero. 🚨 so if something's off, she tells you on stderr and gives you a non-zero exit code. not me being dramatic about error handling 😭


πŸ‘‘ VERSION πŸ‘‘

v(uutils coreutils) 0.7.0


okay that's the whole page bestie, you ate πŸ’…βœ¨ this one's from uutils coreutils, version 0.7.0, and it's the od page from section 1 of the manual. go dump some bytes, you've got this πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms