Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-13 00:17:31 +00:00
parent d15d5b771b
commit 39d8cd0675
34 changed files with 212 additions and 45 deletions

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Use alternative root dir:
`gdebi {{path/to/package.deb}} --root {{path/to/root_dir}}`
`gdebi {{path/to/package.deb}} --root {{path/to/root_directory}}`
- Display version:

View File

@@ -30,8 +30,8 @@ source: https://github.com/tldr-pages/tldr.git
- Download or update an entire directory:
`mirror {{path/to/remote_dir}} {{path/to/local_output_dir}}`
`mirror {{path/to/remote_directory}} {{path/to/local_output_directory}}`
- Upload or update an entire directory:
`mirror {{[-R|--reverse]}} {{path/to/local_dir}} {{path/to/remote_output_dir}}`
`mirror {{[-R|--reverse]}} {{path/to/local_directory}} {{path/to/remote_output_directory}}`

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Complete the installation of `libtool` libraries on the system:
`libtool {{[f|finish]}} {{path/to/installation_dir}}`
`libtool {{[f|finish]}} {{path/to/installation_directory}}`
- Delete installed libraries or executables:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Use a custom directory (defaults to `$TMPDIR`, or `/tmp`):
`mktemp {{[-p |--tmpdir=]}}/{{path/to/tempdir}}`
`mktemp {{[-p |--tmpdir=]}}/{{path/to/temporary_directory}}`
- Use a custom path template (`X`s are replaced with random alphanumeric characters):

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly):
`mount {{[-t|--types]}} {{iso9660}} {{[-o|--options]}} ro {{/dev/cdrom}} {{/cdrom}}`
`mount {{[-t|--types]}} iso9660 {{[-o|--options]}} ro {{/dev/cdrom}} /cdrom`
- Mount all the filesystems defined in `/etc/fstab`:
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- Mount a directory to another directory:
`mount {{[-B|--bind]}} {{path/to/old_dir}} {{path/to/new_dir}}`
`mount {{[-B|--bind]}} {{path/to/old_directory}} {{path/to/new_directory}}`