312-49v10 Exam QuestionsBrowse all questions from this exam

312-49v10 Exam - Question 137


What will the following command accomplish?

dd if=/dev/xxx of=mbr.backup bs=512 count=1

Show Answer
Correct Answer: A

The command 'dd if=/dev/xxx of=mbr.backup bs=512 count=1' will back up the master boot record (MBR). The 'if' parameter specifies the input file, which in this case is the device (/dev/xxx). The 'of' parameter specifies the output file, where the backup will be stored (mbr.backup). The 'bs=512' sets the block size to 512 bytes, and 'count=1' means that only one block (512 bytes) will be copied. The master boot record typically resides in the first 512 bytes of a storage device, hence this command backs it up.

Discussion

1 comment
Sign in to comment
ElbOption: A
Jun 13, 2024

In UNIX and Linux, dd can be used to backup and restore the MBR. To backup the MBR, the command is dd if=/dev/xxx of=mbr.backup bs=512 count=1. To restore the MBR, the command is dd if=mbr.backup of=/dev/xxx bs=512 count=1.