mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 09:57:12 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Discard all sectors on a device, removing all data:
|
||||
|
||||
`blkdiscard /dev/{{device}}`
|
||||
`blkdiscard {{/dev/device}}`
|
||||
|
||||
- Securely discard all blocks on a device, removing all data:
|
||||
|
||||
`blkdiscard --secure /dev/{{device}}`
|
||||
`blkdiscard --secure {{/dev/device}}`
|
||||
|
||||
- Discard the first 100 MB of a device:
|
||||
|
||||
`blkdiscard --length {{100MB}} /dev/{{device}}`
|
||||
`blkdiscard --length {{100MB}} {{/dev/device}}`
|
||||
|
||||
Reference in New Issue
Block a user