Which of the following commands erases the contents of the /dev/sdb3 partition?
Which of the following commands erases the contents of the /dev/sdb3 partition?
The correct command to erase the contents of the /dev/sdb3 partition is 'dd if=/dev/zero of=/dev/sdb3'. This command uses 'dd' to copy data; 'if=/dev/zero' specifies the input file as /dev/zero, a special file in Unix-like systems that provides as many null bytes (zeroes) as are read from it. 'of=/dev/sdb3' specifies the output file as the /dev/sdb3 partition. Thus, this command effectively overwrites the partition with zeroes, erasing its contents.
B is correct , if =input data file which is here /dev/zero and has no data Of =output data file which is here /dev/sdb3 Then the “if” will be write on the “of” by “dd” command dd if=/dev/zero of=/dev/sdb3
B - 100%
B is correct. dd if=/dev/zero of=/dev/sdb3