general_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
general_commands [2024/06/19 22:26] – gman | general_commands [2024/06/19 22:27] (current) – gman | ||
---|---|---|---|
Line 52: | Line 52: | ||
Fill the disk with all zeros (may take a while; it switches every bit to 0): | Fill the disk with all zeros (may take a while; it switches every bit to 0): | ||
- | ``` | + | |
+ | < | ||
dd if=/ | dd if=/ | ||
# replace X with the target drive letter. | # replace X with the target drive letter. | ||
- | ``` | + | </ |
To secure wipe, populate the entire disk with random data rather than zeros (takes longer): | To secure wipe, populate the entire disk with random data rather than zeros (takes longer): | ||
- | ``` | + | < |
dd if=/ | dd if=/ | ||
# replace X with the target drive letter. | # replace X with the target drive letter. | ||
- | ``` | + | </ |
- | Sincd `dd` does not have a verbose setting, you can get some visual feedback with this (run each in a separate term window): | + | Sincd '' |
- | ``` | + | < |
watch vmstat -d | watch vmstat -d | ||
htop | htop | ||
- | ``` | + | </ |
---- | ---- |
general_commands.txt · Last modified: by gman