mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 17:47:00 +00:00
Update cheatsheets
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user