Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-06 00:31:36 +00:00
parent 8c4faa0051
commit a0a2bbc19d
12 changed files with 120 additions and 16 deletions

View File

@@ -15,4 +15,4 @@ source: https://github.com/tldr-pages/tldr.git
- Stop a Distrobox container non-interactively (without confirmation):
`distrobox-stop {{[-n|--name]}} {{container_name}} {{[-Y|--yes]}}`
`distrobox-stop {{container_name}} {{[-Y|--yes]}}`

View File

@@ -15,15 +15,15 @@ source: https://github.com/tldr-pages/tldr.git
- Run a command with a file lock, or exit if the lock is currently being held (with exit code 1):
`flock {{path/to/lock.lock}} {{[-n|--nonblock]}} {{command}}`
`flock {{[-n|--nonblock]}} {{path/to/lock.lock}} {{command}}`
- Run a command with a file lock, or exit with a specific error code if the lock is currently being held:
`flock {{path/to/lock.lock}} {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{command}}`
`flock {{[-n|--nonblock]}} {{[-E|--conflict-exit-code]}} {{123}} {{path/to/lock.lock}} {{command}}`
- Run a command with a file lock, waiting up to 10 seconds for the lock to be available before giving up:
`flock {{path/to/lock.lock}} {{[-w|--timeout]}} 10 {{command}}`
`flock {{[-w|--timeout]}} 10 {{path/to/lock.lock}} {{command}}`
- Backup a bunch of files, waiting for the previous `tar` command to finish if it's still running elsewhere and holding the same lock file (can be used in a `cron` job that runs often):

View File

@@ -5,13 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# genisoimage
> Pre-mastering program to generate ISO9660/Joliet/HFS hybrid filesystems.
> More information: <https://manned.org/genisoimage>.
> This command is an alias of `mkisofs`.
- Create an ISO image from the given source directory:
- View documentation for the original command:
`genisoimage -o {{myimage.iso}} {{path/to/source_directory}}`
- Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems:
`genisoimage -o -allow-limited-size {{myimage.iso}} {{path/to/source_directory}}`
`tldr mkisofs`

View File

@@ -16,3 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
- Set the disc label when creating an ISO:
`mkisofs -o {{filename.iso}} -V "{{label_name}}" {{path/to/source_directory}}`
- Create an ISO image with files larger than 2GiB by reporting a smaller apparent size for ISO9660 filesystems:
`mkisofs -o {{filename.iso}} -allow-limited-size {{path/to/source_directory}}`

21
tldr/linux/pipetron Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pipetron
> Electron node manager for PipeWire.
> More information: <https://codeberg.org/ponleou/pipetron#usage>.
- Start daemon specified in config file (defaults to volume daemon if not specified):
`pipetron {{[-d|--daemon]}}`
- Start volume daemon (mirror volume settings):
`pipetron {{[-vd|--volume-daemon]}}`
- Start audio daemon (mirror audio data):
`pipetron {{[-ad|--audio-daemon]}}`