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