DD(1)

πŸ“¦
version 9.10 Β· 5 versions
, in ubuntu stonking

πŸ’Ύ NAME πŸ’Ύ

okay bestie, meet dd β€” the manual page we're reading is dd(1) β€” and what it does is convert and copy a file. that's it. that's the whole vibe. she's giving "I can do literally anything if you speak to me in operands" and honestly? iconic. πŸ‘‘


✨ SYNOPSIS ✨

dd [OPERAND]...
dd OPTION

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: she copies a file, and she converts + formats it based on the operands you hand her. no cap, that's the whole thing. let's go through every single operand because we are NOT skipping any πŸ’…

  • bs=BYTES β€” read and write up to BYTES bytes at a time (default: 512). she's highkey overrides ibs and obs when she shows up, so know that.
  • cbs=BYTES β€” convert BYTES bytes at a time.
  • conv=CONVS β€” convert the file as per the comma separated symbol list (check the big list below, it's giving variety 🌈).
  • count=N β€” copy only N input blocks. just N. not N+1. N.
  • ibs=BYTES β€” read up to BYTES bytes at a time (default: 512).
  • if=FILE β€” read from FILE instead of standard input.
  • iflag=FLAGS β€” read as per the comma separated symbol list.
  • obs=BYTES β€” write BYTES bytes at a time (default: 512).
  • of=FILE β€” write to FILE instead of standard output.
  • oflag=FLAGS β€” write as per the comma separated symbol list.
  • seek=N (or oseek=N) β€” skip N obs sized output blocks.
  • skip=N (or iseek=N) β€” skip N ibs sized input blocks.
  • status=LEVEL β€” the LEVEL of information to print to standard error; 'none' suppresses everything but error messages, 'noxfer' suppresses the final transfer statistics, 'progress' shows periodic transfer statistics. pick your girlie, choose your gossip level πŸ—£οΈ

πŸ”’ the suffix lore (N and BYTES edition) πŸ”’

N and BYTES may be followed by the following multiplicative suffixes, and yes bestie you need all of them:

c=1, w=2, b=512, kB=1000, K=1024, MB=1000*1000, M=1024*1024, xM=M, GB=1000*1000*1000, G=1024*1024*1024, and so on for T, P, E, Z, Y, R, Q.

Binary prefixes can be used, too: KiB=K, MiB=M, and so on.

heads up bestie: if N ends in 'B', it counts bytes not blocks. lowkey the most important plot twist here.

πŸ’– the CONV symbols, one by one πŸ’–

each CONV symbol may be:

  • ascii β€” from EBCDIC to ASCII.
  • ebcdic β€” from ASCII to EBCDIC.
  • ibm β€” from ASCII to alternate EBCDIC.
  • block β€” pad newline-terminated records with spaces to cbs-size.
  • unblock β€” replace trailing spaces in cbs-size records with newline.
  • lcase β€” change upper case to lower case.
  • ucase β€” change lower case to upper case.
  • sparse β€” try to seek rather than write all-NUL output blocks.
  • swab β€” swap every pair of input bytes. little byte shuffle, slay. πŸ”„
  • sync β€” pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs.
  • excl β€” fail if the output file already exists.
  • nocreat β€” do not create the output file.
  • notrunc β€” do not truncate the output file.
  • noerror β€” continue after read errors. she's resilient, she's main character energy.
  • fdatasync β€” physically write output file data before finishing.
  • fsync β€” likewise, but also write metadata.

🌸 the FLAG symbols, one by one 🌸

each FLAG symbol may be:

  • append β€” append mode (makes sense only for output; conv=notrunc suggested).
  • direct β€” use direct I/O for data.
  • directory β€” fail unless a directory.
  • dsync β€” use synchronized I/O for data.
  • sync β€” likewise, but also for metadata.
  • fullblock β€” accumulate full blocks of input (iflag only).
  • nonblock β€” use non-blocking I/O.
  • noatime β€” do not update access time.
  • nocache β€” Request to drop cache. See also oflag=sync.
  • noctty β€” do not assign controlling terminal from file.
  • nofollow β€” do not follow symlinks.

πŸ“’ the USR1 situation πŸ“’

sending a USR1 signal to a running 'dd' process makes it print I/O statistics to standard error and then resume copying. so like, if you wanna peek at how she's doing mid-run, just USR1 her, she'll spill the stats and get right back to work. obsessed. πŸ’…


⭐ Options ⭐

options are:

  • --help β€” display this help and exit.
  • --version β€” output version information and exit.

πŸ‘‘ AUTHOR πŸ‘‘

Written by Paul Rubin, David MacKenzie, and Stuart Kemp. three absolute legends, fr fr. 🫢


πŸ› REPORTING BUGS πŸ›


🌈 SEE ALSO 🌈

Packaged by Ubuntu (9.10-1ubuntu2) Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.


ok that's the whole page, you ate that bestie πŸ’– go copy some files responsibly, and remember: GNU coreutils 9.10, dated August 2026 β€” that's the version energy this page was born from. mwah πŸŽ€βœ¨
πŸ“¦ where this page comes from