mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 07:48:08 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Clone a drive to another drive with 4 MiB block size and flush writes before the command terminates:
|
||||
|
||||
`dd bs={{4M}} conv={{fsync}} if={{/dev/source_drive}} of={{/dev/dest_drive}}`
|
||||
`dd bs=4M conv=fsync if={{/dev/source_drive}} of={{/dev/dest_drive}}`
|
||||
|
||||
- Generate a file with a specific number of random bytes by using kernel random driver:
|
||||
|
||||
@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`dd if={{/dev/drive_device}} of={{path/to/file.img}}`
|
||||
|
||||
- Check the progress of an ongoing dd operation (run this command from another shell):
|
||||
- Check the progress of an ongoing `dd` operation (run this command from another shell):
|
||||
|
||||
`kill -USR1 $(pgrep -x dd)`
|
||||
|
||||
Reference in New Issue
Block a user