21
6
For normal file copying in *nix, I've only ever seen people use cp (eg. cp /mnt/mydevice/myfile ~/myfile
), but I eventually ran into dd
, which appears to do the exact same thing (dd if=/mnt/mydevice/myfile of=~/myfile
). I do see that they have some different parameters available (dd seems better at fine-tuned copying), but they appear redundant. Do these tools really do the same thing?
@Eddy_Em, What's wrong with that? – Pacerier – 2015-05-02T12:10:17.163
They do the same things only for regular files. Try for example to copy a directory with
dd
. – Eddy_Em – 2013-06-18T20:03:29.780...or a device (like
/dev/sda
) withcp
. – jpaugh – 2013-06-18T21:45:45.977Was your question answered? – Kruug – 2013-06-20T20:58:17.217