dd
The dd command in Linux is a powerful utility for low-level data copying and conversion, primarily used for disk cloning, creating disk images, partition backups, and writing ISO files to USB drives. Mastering the dd command is essential for Linux system administrators, as it enables precise control over data manipulation, backup processes, and disk recovery.
| Option | Description | Example |
|---|---|---|
| if= | Input file or device (e.g., disk or ISO) | if=/dev/sda |
| of= | Output file or device (e.g., target disk or image file) | of=/dev/sdb |
| bs= | Block size for input/output operations | bs=4M |
| status= | Display the status of the operation | status=progress |
| conv= | Conversion options (e.g., noerror, sync) | conv=noerror,sync |
| seek= | Skip blocks in the output file | seek=1 |
| count= | Limit the number of blocks to copy | count=100 |
Output your microphone to a remote computer's speaker
This will output the sound from your microphone port to the ssh target computer's speaker port. The sound quality is very bad, so you will hear a lot of hissing.
Processor / memory bandwidthd in GB/s
Read 32GB zero's and throw them away. How fast is your system?
Create an emergency swapfile when the existing swap space is getting tight
Efficient remote forensic disk acquisition gpg-crypted for multiple recipients
Wipe a failed disk - If you can't use shred or ddrescue, this is a very slow but portable alternative
Wipe first and last 1G of a hard disk
uuid generator
Resource(s)