While decommissioning a 1 TB SATA drive identified as /dev/sdc, you are instructed to overwrite every block with a sequence of test patterns, verify each write, and observe both a live progress indicator and any read/write error counts. The drive is unmounted. Which command BEST meets these requirements using native Linux utilities?
The write-mode test activated by badblocks -w destructively overwrites every block with four patterns (0xaa, 0x55, 0xff, 0x00) and verifies the result. Adding -s shows a real-time percentage of the current pass, and -v prints detailed counts of read, write, and data-corruption errors. Together, -wsv provides the requested wipe, verification, progress, and error reporting. The -n option is non-destructive and therefore unsuitable for a secure wipe; omitting -v hides error statistics; omitting -s hides progress information, and adding -p 0 changes nothing beyond the default while still lacking at least one required indicator.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the `-w` option in `badblocks` do?
Open an interactive chat with Bash
Why is the `-n` option in `badblocks` not suitable for a secure wipe?
Open an interactive chat with Bash
What is the purpose of adding the `-s` and `-v` options to `badblocks` commands?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .