Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-10 00:21:37 +00:00
parent 15848b0938
commit 9420175cb8
27 changed files with 159 additions and 74 deletions

View File

@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
- Make a bootable USB drive from an isohybrid file (such as `archlinux-xxx.iso`) and show the progress:
`dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress`
`sudo dd if={{path/to/file.iso}} of={{/dev/usb_drive}} status=progress`
- 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}}`
`sudo 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:
@@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git
- Check the progress of an ongoing `dd` operation (run this command from another shell):
`kill -USR1 $(pgrep {{[-x|--exact]}} dd)`
`progress`