OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
md
|
|
dd
|
|
cd
|
|
None of the above
|
Detailed explanation-1: -Overview. In the venerable Unix command dd, the disk/data duplicator (or, sometimes, disk destroyer) allows us to copy raw data from one source to another. It’s not used to copy individual files like cp. Instead, it lets us read from and write to block devices-for example, physical hard drives.
Detailed explanation-2: -Use the dd command to copy the master disk to the clone disk. # dd if=/dev/rdsk/ device-name of=/dev/rdsk/ device-name bs= blocksize.
Detailed explanation-3: -dd is intended to copy bytes from one device to another (a device is a file as well) is the lowest level style you can imagine. On top of bytes in a file you have files. Files are being handled by cp and friends. So if you want to copy a disk or a partition byte-by-byte you would use dd.