Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-10 00:15:12 +00:00
parent 0f99439c7f
commit d9cb45e38a
5 changed files with 14 additions and 14 deletions

View File

@@ -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)`