Security
A security policy requires that a retiring spinning hard drive, /dev/sdb, be overwritten with three passes of random data followed by a final pass of zeros to hide that it was shredded. The administrator wants progress output. Which command meets the policy?
Show the answer
Correct answerB. shred -v -n 3 -z /dev/sdb
shred -n 3 sets three random passes, -z adds the final zero pass, -v shows progress, and targeting /dev/sdb covers the whole disk. Targeting only /dev/sdb1 skips the rest of the disk and omits the zero pass.