Compressing and Archiving
99
device, most often 4KB (4,096 bytes). With these options,
your command
would look like this:
kali >
dd if=/dev/media of=/root/flashcopy bs=4096 conv:noerror
As mentioned, it’s worth doing a little more research on your own, but
this is a good introduction to the command and its common usages.
Summary
Linux has a number of commands to enable you to combine and compress
your files for easier transfer. For combining files,
tar
is
the command of
choice, and you have at least three utilities for compressing files—
gzip
,
bzip2
,
and
compress
—all with different compression ratios. The
dd
command goes
above and beyond. It enables you to make a physical copy of storage devices
without the logical structures such as a filesystem, allowing you to recover
such artifacts as deleted files.