mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 05:59:57 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Attach a file to a given loop device:
|
||||
|
||||
`sudo losetup /dev/{{loop}} /{{path/to/file}}`
|
||||
`sudo losetup {{/dev/loop}} /{{path/to/file}}`
|
||||
|
||||
- Attach a file to a new free loop device and scan the device for partitions:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Attach a file to a read-only loop device:
|
||||
|
||||
`sudo losetup --read-only /dev/{{loop}} /{{path/to/file}}`
|
||||
`sudo losetup --read-only {{/dev/loop}} /{{path/to/file}}`
|
||||
|
||||
- Detach all loop devices:
|
||||
|
||||
@@ -30,4 +30,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Detach a given loop device:
|
||||
|
||||
`sudo losetup -d /dev/{{loop}}`
|
||||
`sudo losetup -d {{/dev/loop}}`
|
||||
|
||||
Reference in New Issue
Block a user