Linux Commands Helper

💬 Your AI-powered Linux assistant

dd Command - Convert and Copy Files

dd is a command-line utility for Unix and Unix-like operating systems whose primary purpose is to convert and copy files. It is commonly used for backing up and restoring entire drives or partitions, creating bootable USBs, and more.

Syntax

dd if=[input_file] of=[output_file] [options]

Examples

dd if=/dev/sda of=/dev/sdb bs=4M status=progress

Clone disk /dev/sda to /dev/sdb with a block size of 4MB and show progress.

dd if=/dev/cdrom of=cdrom.iso

Create an ISO image from a CD-ROM.

Notes

  • Be extremely careful with input and output files to avoid data loss.
  • Requires root privileges for device-level operations.
  • Use status=progress to monitor progress in modern dd versions.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame