Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-22 00:22:43 +00:00
parent 9017f8acda
commit 716a67f83d
236 changed files with 290 additions and 289 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# age
> A simple, modern and secure file encryption tool.
> A simple, modern, and secure file encryption tool.
> See also: `age-keygen` for generating key pairs.
> More information: <https://github.com/FiloSottile/age#usage>.

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Pull ansible playbooks from a VCS repo and executes them for the local host.
> More information: <https://docs.ansible.com/projects/ansible/latest/cli/ansible-pull.html>.
- Pull a playbook from a VCS and execute a default local.yml playbook:
- Pull a playbook from a VCS and execute a default `local.yml` playbook:
`ansible-pull {{[-U|--url]}} {{repository_url}}`

View File

@@ -16,14 +16,14 @@ source: https://github.com/tldr-pages/tldr.git
`astroterm {{[-C|--constellations]}} {{[-c|--color]}} {{[-f|--fps]}} {{60}}`
- Use unicode characters instead of the basic ASCII characters, and only render stars brighter than the given magnitude:
- Use unicode characters instead of the basic ASCII characters and only render stars brighter than the given magnitude:
`astroterm {{[-u|--unicode]}} {{[-t|--threshold]}} {{2.0}}`
- Use a given latitude, longitude and datetime:
- Use a given latitude, longitude, and datetime:
`astroterm {{[-a|--latitude]}} {{90.0}} {{[-o|--longitude]}} {{-180.0}} {{[-d|--datetime]}} {{2025-08-04T12:00:00}}`
- Use the longitude and latitude of a given city, and set the speed of the simulation to a given factor:
- Use the longitude and latitude of a given city and set the speed of the simulation to a given factor:
`astroterm {{[-i|--city]}} {{Singapore}} {{[-s|--speed]}} {{1000.0}}`

View File

@@ -37,6 +37,6 @@ source: https://github.com/tldr-pages/tldr.git
`atool {{[-x|--extract]}} {{[-e|--each]}} {{archive1.zip}} {{archive2.tar.gz}} {{*.rar}}`
- Repack an archive from one format to another (e.g., .tar.gz to .tar.7z):
- Repack an archive from one format to another (e.g., `.tar.gz` to `.tar.7z`):
`atool {{[-r|--repack]}} {{old_archive.tar.gz}} {{new_archive.tar.7z}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# bandwhich
> Display the current network utilization by process, connection or remote IP/hostname.
> Display the current network utilization by process, connection, or remote IP/hostname.
> More information: <https://github.com/imsnif/bandwhich#usage>.
- Show the remote addresses table only:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bedtools
> A swiss-army knife of tools for genomic-analysis tasks.
> Used to intersect, group, convert and count data in BAM, BED, GFF/GTF, VCF format.
> Used to intersect, group, convert, and count data in BAM, BED, GFF/GTF, VCF format.
> More information: <https://bedtools.readthedocs.io/en/latest/content/overview.html#summary-of-available-tools>.
- Intersect file [a] and file(s) [b] regarding the sequences' [s]trand and save the result to a specific file:

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-a|--render-anim]}}`
- Render an animation using a specific image naming pattern, in a path relative (`//`) to the .blend file:
- Render an animation using a specific image naming pattern, in a path relative (`//`) to the `.blend` file:
`blender {{[-b|--background]}} {{path/to/file.blend}} {{[-o|--render-output]}} //{{render/frame_###.png}} {{[-a|--render-anim]}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# btop
> A resource monitor that shows information about the CPU, memory, disks, network and processes.
> A resource monitor that shows information about the CPU, memory, disks, network, and processes.
> A C++ version of `bpytop`.
> See also: `btm`, `glances`, `atop`, `htop`, `top`.
> More information: <https://github.com/aristocratos/btop#command-line-options>.

View File

@@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
`bzgrep {{[-o|--only-matching]}} "{{search_pattern}}" {{path/to/file}}`
- Recursively search files in a bzip2 compressed tar archive for a pattern:
- Recursively search files in a bzip2 compressed `.tar` archive for a pattern:
`bzgrep {{[-r|--recursive]}} "{{search_pattern}}" {{path/to/tar_file}}`

View File

@@ -39,4 +39,4 @@ source: https://github.com/tldr-pages/tldr.git
- Build using a specific number of threads (default is the number of logical CPUs):
`cargo {{[b|build]}} --jobs {{number_of_threads}}`
`cargo {{[b|build]}} {{[-j|--jobs]}} {{number_of_threads}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# code2prompt
> Generate AI-ready prompts from a codebase (extracts, filters and formats code for LLMs).
> Generate AI-ready prompts from a codebase (extract, filter, and format code for LLMs).
> More information: <https://code2prompt.dev/docs/how_to/filter_files/>.
- Generate a prompt for the current project and copy it to the clipboard (default behavior):

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
> See also: `complete`, `compopt`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-compgen>.
- List all shell built-ins, aliases, functions and executables that you could run:
- List all shell built-ins, aliases, functions, and executables that you could run:
`compgen -c`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# conda
> Package, dependency and environment management for any programming language.
> Package, dependency, and environment management for any programming language.
> Some subcommands such as `create` have their own usage documentation.
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/index.html>.

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Fetch fetches the JARs of dependencies.
> More information: <https://get-coursier.io/docs/cli-fetch>.
- Fetch a specific version of a jar:
- Fetch a specific version of a `.jar`:
`cs fetch {{group_id}}:{{artifact_id}}:{{artifact_version}}`
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`CP="$(cs fetch --classpath org.scalameta::scalafmt-cli:latest.release)"`
- Fetch a source of a specific jar:
- Fetch a source of a specific `.jar`:
`cs fetch --sources {{group_id}}:{{artifact_id}}:{{artifact_version}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Transfers data from or to a server.
> Supports most protocols, including HTTP, HTTPS, FTP, SCP, etc.
> See also: `wget`.
> See also: `wcurl`, `wget`.
> More information: <https://curl.se/docs/manpage.html>.
- Make an HTTP GET request and dump the contents in `stdout`:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# cython
> A compiler that converts .pyx files into C or C++ source files.
> A compiler that converts `.pyx` files into C or C++ source files.
> More information: <https://docs.cython.org/en/latest/>.
- Compile into C code:

View File

@@ -32,7 +32,7 @@ source: https://github.com/tldr-pages/tldr.git
`docker container inspect {{container_name}}`
- Export a container's filesystem as a tar archive:
- Export a container's filesystem as a `.tar` archive:
`docker {{[export|container export]}} {{container_name}}`

View File

@@ -32,7 +32,7 @@ source: https://github.com/tldr-pages/tldr.git
`docker {{[ps|container ls]}} {{[-a|--all]}} {{[-f|--filter]}} "exited={{code}}"`
- Filter containers by status (created, running, removing, paused, exited and dead):
- Filter containers by status (created, running, removing, paused, exited, and dead):
`docker {{[ps|container ls]}} {{[-f|--filter]}} "status={{status}}"`

View File

@@ -8,11 +8,11 @@ source: https://github.com/tldr-pages/tldr.git
> Export Docker images to archive.
> More information: <https://docs.docker.com/reference/cli/docker/image/save/>.
- Save an image by redirecting `stdout` to a tar archive:
- Save an image by redirecting `stdout` to a `.tar` archive:
`docker {{[save|image save]}} {{image}}:{{tag}} > {{path/to/file.tar}}`
- Save an image to a tar archive:
- Save an image to a `.tar` archive:
`docker {{[save|image save]}} {{[-o|--output]}} {{path/to/file.tar}} {{image}}:{{tag}}`

View File

@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`dropuser {{[-h|--host]}} 127.0.0.1 {{[-p|--port]}} 4321 {{username}}`
- Remove a user on the server with address 127.0.0.1 on port 4321 as user "admin" :
- Remove a user on the server with address 127.0.0.1 on port 4321 as user "admin":
`dropuser {{[-U|--username]}} admin {{[-h|--host]}} 127.0.0.1 {{[-p|--port]}} 4321 {{username}}`

View File

@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
> Regexes are matched by Rust regex crate.
> More information: <https://github.com/facebookincubator/fastmod>.
- Replace a `regex` in all files of the current directory, ignoring files on .ignore and .gitignore:
- Replace a `regex` in all files of the current directory, ignoring files on `.ignore` and `.gitignore`:
`fastmod {{regex}} {{replacement}}`

View File

@@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git
`fdroidcl repo add {{repo_name}} {{url}}`
- Remove, enable or disable a repository:
- Remove, enable, or disable a repository:
`fdroidcl repo {{remove|enable|disable}} {{repo_name}}`

View File

@@ -12,6 +12,6 @@ source: https://github.com/tldr-pages/tldr.git
`fkill`
- Kill the process by PID, name or port:
- Kill the process by PID, name, or port:
`fkill {{pid|name|:port}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# flac
> Encodes, decodes and tests FLAC files.
> Encode, decode, and test FLAC files.
> More information: <https://xiph.org/flac/>.
- Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file):

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> A cross-platform file change monitor.
> More information: <https://emcrisostomo.github.io/fswatch/>.
- Run a Bash command on file creation, update or deletion:
- Run a Bash command on file creation, update, or deletion:
`fswatch {{path/to/file}} | xargs {{[-n|--max-args]}} 1 {{bash_command}}`

View File

@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`gcal --starting-day=1`
- Display the previous, current and next month surrounding today:
- Display the previous, current, and next month surrounding today:
`gcal .`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gcrane ls
> List the tags in a repository.
> More complex form than `crane ls`, which allows for listing tags, manifest and sub-repositories.
> More complex form than `crane ls`, which allows for listing tags, manifest, and sub-repositories.
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md>.
- List the tags:

View File

@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
`gdown {{folder_id|url}} {{[-O|--output]}} {{path/to/output_directory}} --folder`
- Download a tar archive, write it to `stdout`, and extract it:
- Download a `.tar` archive, write it to `stdout`, and extract it:
`gdown {{tar_url}} {{[-O|--output]}} - {{[-q|--quiet]}} | tar xvf -`

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`gh issue {{[new|create]}} {{[-a|--assignee]}} {{user1,user2,...}}`
- Create a new issue with a title, body and assign it to the current user:
- Create a new issue with a title and body, and assign it to the current user:
`gh issue {{[new|create]}} {{[-t|--title]}} "{{title}}" {{[-b|--body]}} "{{body}}" {{[-a|--assignee]}} "@me"`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`gh label {{[ls|list]}} {{[-w|--web]}}`
- Create a label with a specific name, description and color in hexadecimal format for the repository in the current directory:
- Create a label with a specific name, description, and color in hexadecimal format for the repository in the current directory:
`gh label create {{name}} {{[-d|--description]}} "{{description}}" {{[-c|--color]}} {{color_hex}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# gh run
> View, run and watch recent GitHub Actions workflow runs.
> View, run, and watch recent GitHub Actions workflow runs.
> More information: <https://cli.github.com/manual/gh_run>.
- Interactively select a run to see information about the jobs:

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`gibo dump {{boilerplate}}`
- Write a boilerplate to .gitignore:
- Write a boilerplate to `.gitignore`:
`gibo dump {{boilerplate}} >>{{.gitignore}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create an archive of files from a tree.
> More information: <https://git-scm.com/docs/git-archive>.
- Create a tar archive from the contents of the current `HEAD` and print it to `stdout`:
- Create a `.tar` archive from the contents of the current `HEAD` and print it to `stdout`:
`git archive {{[-v|--verbose]}} HEAD`
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{path/to/file.zip}} HEAD`
- Create a tar archive from the contents of the latest commit of a specific branch:
- Create a `.tar` archive from the contents of the latest commit of a specific branch:
`git archive {{[-o|--output]}} {{path/to/file.tar}} {{branch_name}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# git check-ignore
> Analyze and debug Git ignore/exclude (".gitignore") files.
> Analyze and debug Git ignore/exclude (`.gitignore`) files.
> More information: <https://git-scm.com/docs/git-check-ignore>.
- Check whether a file or directory is ignored:

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`git config --global {{user.name|user.email}} "{{Your Name|email@example.com}}"`
- List local, global or system configuration entries and show their file location:
- List local, global, or system configuration entries and show their file location:
`git config {{[-l|--list]}} --{{local|global|system}} --show-origin`

View File

@@ -28,7 +28,7 @@ source: https://github.com/tldr-pages/tldr.git
`git diff --stat {{commit}}`
- Output a summary of file creations, renames and mode changes since a given commit:
- Output a summary of file creations, renames, and mode changes since a given commit:
`git diff --summary {{commit}}`

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# git format-patch
> Prepare .patch files. Useful when emailing commits elsewhere.
> See also: `git am` which can apply generated .patch files.
> Prepare `.patch` files. Useful when emailing commits elsewhere.
> See also: `git am` which can apply generated `.patch` files.
> More information: <https://git-scm.com/docs/git-format-patch>.
- Create an auto-named `.patch` file for all the unpushed commits:

View File

@@ -5,13 +5,13 @@ source: https://github.com/tldr-pages/tldr.git
---
# git ignore-io
> Generate .gitignore files from predefined templates.
> Generate `.gitignore` files from predefined templates.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-ignore-io>.
- List available templates:
`git ignore-io list`
- Generate a .gitignore template:
- Generate a `.gitignore` template:
`git ignore-io {{item_a,item_b,...}}`

View File

@@ -9,10 +9,10 @@ source: https://github.com/tldr-pages/tldr.git
> Part of `git-extras`.
> More information: <https://manned.org/git-info>.
- Display remote locations, remote and local branches, most recent commit data and `.git/config` settings:
- Display remote locations, remote and local branches, most recent commit data, and `.git/config` settings:
`git info`
- Display remote locations, remote and local branches and most recent commit data:
- Display remote locations, remote and local branches, and most recent commit data:
`git info --no-config`

View File

@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`git log --oneline --graph`
- Show a graph of all commits, tags and branches in the entire repo:
- Show a graph of all commits, tags, and branches in the entire repo:
`git log --oneline --decorate --all --graph`

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`git rebase {{new_base_branch}}`
- Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified:
- Start an interactive rebase, which allows the commits to be reordered, omitted, combined, or modified:
`git rebase {{[-i|--interactive]}} {{target_base_branch_or_commit_hash}}`
@@ -33,7 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
`git rebase --onto {{new_base}} {{old_base}}`
- Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified:
- Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined, or modified:
`git rebase {{[-i|--interactive]}} {{HEAD~5}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# git reflog
> Show a log of changes to local references like HEAD, branches or tags.
> Show a log of changes to local references like HEAD, branches, or tags.
> More information: <https://git-scm.com/docs/git-reflog>.
- Show the reflog for `HEAD`:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# git reset
> Undo commits or unstage changes, by resetting the current Git HEAD to the specified state.
> Undo commits or unstage changes by resetting the current Git HEAD to the specified state.
> If a path is passed, it works as "unstage"; if a commit hash or branch is passed, it works as "uncommit".
> More information: <https://git-scm.com/docs/git-reset>.
@@ -33,6 +33,6 @@ source: https://github.com/tldr-pages/tldr.git
`git reset --hard`
- Reset the repository to a given commit, discarding committed, staged and uncommitted changes since then:
- Reset the repository to a given commit, discarding committed, staged, and uncommitted changes since then:
`git reset --hard {{commit}}`

View File

@@ -24,10 +24,10 @@ source: https://github.com/tldr-pages/tldr.git
`git shortlog HEAD~5..HEAD`
- View all users, emails and the number of commits in the current branch:
- View all users, emails, and the number of commits in the current branch:
`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}`
- View all users, emails and the number of commits in all branches:
- View all users, emails, and the number of commits in all branches:
`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`git show {{commit|tag|branch}}`
- Show only the list of added, renamed or deleted files:
- Show only the list of added, renamed, or deleted files:
`git show --summary {{commit}}`
@@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
`git show --name-only {{commit}}`
- Show the contents of a file as it was at a given revision (e.g. branch, tag or commit):
- Show the contents of a file as it was at a given revision (e.g. branch, tag, or commit):
`git show {{revision}}:{{path/to/file}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git status
> Show the changes to files in a Git repository.
> List changed, added and deleted files compared to the currently checked-out commit.
> List changed, added, and deleted files compared to the currently checked-out commit.
> More information: <https://git-scm.com/docs/git-status>.
- Show changed files which are not yet added for commit:

View File

@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
---
# git submodule
> Inspects, updates and manages submodules.
> Inspect, update, and manage submodules.
> More information: <https://git-scm.com/docs/git-submodule>.
- View existing submodules, and the checked-out commit for each one:
- View existing submodules and the checked-out commit for each one:
`git submodule`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# git tag
> Create, list, delete or verify tags.
> Create, list, delete, or verify tags.
> A tag is a static reference to a commit.
> More information: <https://git-scm.com/docs/git-tag>.

View File

@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
> These may be linked into GTK applications using the GResource API.
> More information: <https://manned.org/glib-compile-resources>.
- Compile resources referenced in `file.gresource.xml` to a .gresource binary:
- Compile resources referenced in `file.gresource.xml` to a `.gresource` binary:
`glib-compile-resources {{file.gresource.xml}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# golangci-lint
> Parallelized, smart and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.
> Parallelized, smart, and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.
> More information: <https://golangci-lint.run/welcome/quick-start/>.
- Run linters in the current folder:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# gpgconf
> Modify .gnupg home directories.
> Modify `.gnupg` home directories.
> More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpgconf.html>.
- List all components:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# hello
> Print "Hello, world!", "hello, world" or a customizable text.
> Print "Hello, world!", "hello, world", or a customizable text.
> More information: <https://www.gnu.org/software/hello/manual/hello.html#Invoking-hello>.
- Print "Hello, world!":

View File

@@ -33,7 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
`helm install {{name}} {{repository_name}}/{{chart_name}}`
- Download helm chart as a tar archive:
- Download helm chart as a `.tar` archive:
`helm get {{chart_release_name}}`

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`hg clone {{[-U|--noupdate]}} {{remote_repository_source}}`
- Clone a repository to a specific revision, tag or branch, keeping the entire history:
- Clone a repository to a specific revision, tag, or branch, keeping the entire history:
`hg clone {{[-u|--updaterev]}} {{revision}} {{remote_repository_source}}`

View File

@@ -5,23 +5,23 @@ source: https://github.com/tldr-pages/tldr.git
---
# IFS
> IFS (Internal Field Separator) is a special environment variable that defines the delimiter used for word splitting in Unix shells.
> The default value of IFS is a space, tab, and newline. The three characters serve as delimiters.
> `$IFS` (Internal Field Separator) is a special environment variable that defines the delimiter used for word splitting in Unix shells.
> The default value of `$IFS` is a space, tab, and newline. The three characters serve as delimiters.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Word-Splitting>.
- View the current IFS value:
- View the current `$IFS` value:
`echo "$IFS"`
- Change the IFS value:
- Change the `$IFS` value:
`IFS="{{:}}"`
- Reset IFS to default:
- Reset `$IFS` to default:
`IFS=$'
'`
- Temporarily change the IFS value in a subshell:
- Temporarily change the `$IFS` value in a subshell:
`(IFS="{{:}}"; echo "{{one:two:three}}")`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`ionic serve`
- Generate new app component, directive, page, pipe, provider or tabs:
- Generate new app component, directive, page, pipe, provider, or tabs:
`ionic g {{page}}`

View File

@@ -8,18 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
> Java applications/libraries packager.
> More information: <https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html>.
- Recursively archive all files in the current directory into a .jar file:
- Recursively archive all files in the current directory into a `.jar` file:
`jar cf {{file.jar}} *`
- Unzip .jar/.war file to the current directory:
- Unzip `.jar`/`.war` file to the current directory:
`jar -xvf {{file.jar}}`
- List a .jar/.war file content:
- List a `.jar`/`.war` file content:
`jar tf {{path/to/file.jar}}`
- List a .jar/.war file content with verbose output:
- List a `.jar`/`.war` file content with verbose output:
`jar tvf {{path/to/file.jar}}`

View File

@@ -5,17 +5,17 @@ source: https://github.com/tldr-pages/tldr.git
---
# jarsigner
> Sign and verify Java archive (JAR) files.
> Sign and verify Java archive (`.jar`) files.
> More information: <https://docs.oracle.com/en/java/javase/25/docs/specs/man/jarsigner.html>.
- Sign a JAR file:
- Sign a `.jar` file:
`jarsigner {{path/to/file.jar}} {{keystore_alias}}`
- Sign a JAR file with a specific algorithm:
- Sign a `.jar` file with a specific algorithm:
`jarsigner -sigalg {{algorithm}} {{path/to/file.jar}} {{keystore_alias}}`
- Verify the signature of a JAR file:
- Verify the signature of a `.jar` file:
`jarsigner -verify {{path/to/file.jar}}`

View File

@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{filename.jar}}`
- Display JDK, JRE and HotSpot versions:
- Display JDK, JRE, and HotSpot versions:
`java -version`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# jbang
> Easily create, edit and run self-contained source-only Java programs.
> Easily create, edit, and run self-contained source-only Java programs.
> See also: `java`.
> More information: <https://www.jbang.dev/documentation/jbang/latest/cli/jbang.html>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# jf
> Interact with JFrog products like Artifactory, Xray, Distribution, Pipelines and Mission Control.
> Interact with JFrog products like Artifactory, Xray, Distribution, Pipelines, and Mission Control.
> More information: <https://jfrog.com/help/r/jfrog-applications-and-cli-documentation/jfrog-cli>.
- Add a new configuration:

View File

@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`jj {{[op|operation]}} show {{operation}}`
- Show stat, summary and patch of modifications of an operation:
- Show stat, summary, and patch of modifications of an operation:
`jj {{[op|operation]}} show {{--stat}} {{[-s|--summary]}} {{[-p|--patch]}} {{operation}}`

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# jupyter
> Web application to create and share documents that contain code, visualizations and notes.
> Primarily used for data analysis, scientific computing and machine learning.
> Web application to create and share documents that contain code, visualizations, and notes.
> Primarily used for data analysis, scientific computing, and machine learning.
> More information: <https://docs.jupyter.org/en/latest/>.
- Start a Jupyter notebook server in the current directory:

View File

@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
`lebab {{path/to/input_file}} --out-file {{path/to/output_file}}`
- Replace all `.js` files in-place in the specified directory, glob or file:
- Replace all `.js` files in-place in the specified directory, glob, or file:
`lebab --replace {{directory|glob|file}}`

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{address}}`
- Display the function name, filename and line number:
- Display the function name, filename, and line number:
`addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{address}}`

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`apt-clone clone {{path/to/directory}}`
- Create a clone file (`tar.gz`) for backup purposes:
- Create a clone file (`.tar.gz`) for backup purposes:
`apt-clone clone --destination {{path/to/backup.tar.gz}}`

View File

@@ -12,6 +12,6 @@ source: https://github.com/tldr-pages/tldr.git
`avifenc {{path/to/input.png}} {{path/to/output.avif}}`
- Encode with a specific speed (6=default, 0=slowest and 10=fastest):
- Encode with a specific speed (6=default, 0=slowest, and 10=fastest):
`avifenc --speed {{2}} {{path/to/input.png}} {{path/to/output.avif}}`

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo bootctl reboot-to-firmware true`
- Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`):
- Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/`, or `/boot/efi`):
`bootctl --esp-path /{{path/to/efi_system_partition}}/`

View File

@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo btrfs {{[c|check]}} --check-data-csum {{path/to/partition}}`
- Use the `n`-th superblock (`n` can be 0, 1 or 2):
- Use the `n`-th superblock (`n` can be 0, 1, or 2):
`sudo btrfs {{[c|check]}} {{[-s|--super]}} {{n}} {{path/to/partition}}`

View File

@@ -28,6 +28,6 @@ source: https://github.com/tldr-pages/tldr.git
`sudo btrfs {{[i|inspect-internal]}} {{[lo|logical-resolve]}} {{logical_address}} {{path/to/btrfs_mount}}`
- Print stats of root, extent, csum and fs trees:
- Print stats of root, extent, csum, and fs trees:
`sudo btrfs {{[i|inspect-internal]}} {{[t|tree-stats]}} {{path/to/partition}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Introspect and monitor the D-Bus bus.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/busctl.html>.
- Show all peers on the bus, by their service names:
- Show all peers on the bus by their service names:
`busctl list`
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`busctl tree {{service1 service2 ...}}`
- Show interfaces, methods, properties and signals of the specified object on the specified service:
- Show interfaces, methods, properties, and signals of the specified object on the specified service:
`busctl introspect {{service}} {{path/to/object}}`

View File

@@ -5,10 +5,10 @@ source: https://github.com/tldr-pages/tldr.git
---
# datamash
> Perform basic numeric, textual and statistical operations on input textual data files.
> Perform basic numeric, textual, and statistical operations on input textual data files.
> More information: <https://www.gnu.org/software/datamash/manual/datamash.html#Invoking-datamash>.
- Get max, min, mean and median of a single column of numbers:
- Get max, min, mean, and median of a single column of numbers:
`seq 3 | datamash max 1 min 1 mean 1 median 1`

View File

@@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git
`dex {{[-c|--create]}} {{path/to/file.desktop}}`
- Execute a single program (with `Terminal=true` in the desktop file) in the given terminal:
- Execute a single program (with `Terminal=true` in the `.desktop` file) in the given terminal:
`dex --term {{terminal}} {{path/to/file.desktop}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# distrobox-create
> Create a Distrobox container.
> The container created will be tightly integrated with the host, allowing sharing of the user's HOME directory, external storage, external USB devices, graphical apps (X11/Wayland), and audio.
> The container created will be tightly integrated with the host, allowing sharing of the user's `$HOME` directory, external storage, external USB devices, graphical apps (X11/Wayland), and audio.
> See also: `distrobox`.
> More information: <https://distrobox.it/usage/distrobox-create/>.

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# distrobox-enter
> Enter a Distrobox container.
> Default command executed is your SHELL, but you can specify different shells or entire commands to execute. If used inside a script, an application, or a service, you can use the `--headless` mode to disable the tty and interactivity.
> Default command executed is your `$SHELL`, but you can specify different shells or entire commands to execute. If used inside a script, an application, or a service, you can use the `--headless` mode to disable the tty and interactivity.
> See also: `distrobox`.
> More information: <https://distrobox.it/usage/distrobox-enter/>.

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# dpkg-deb
> Pack, unpack and provide information about Debian archives.
> Pack, unpack, and provide information about Debian archives.
> More information: <https://manned.org/dpkg-deb>.
- Display information about a package:

View File

@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
> Note: dstat is deprecated and no longer maintained.
> More information: <https://github.com/dstat-real/dstat>.
- Display CPU, disk, net, paging and system statistics:
- Display CPU, disk, net, paging, and system statistics:
`dstat`

View File

@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
> Unmount the partition before running this command using `umount device`.
> More information: <https://manned.org/dumpe2fs>.
- Display ext2, ext3 and ext4 filesystem information:
- Display ext2, ext3, and ext4 filesystem information:
`dumpe2fs {{/dev/sdXN}}`

View File

@@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
`ebuild {{path/to/file.ebuild}} qmerge`
- Fetch, unpack, compile, install and qmerge the specified ebuild file:
- Fetch, unpack, compile, install, and qmerge the specified ebuild file:
`ebuild {{path/to/file.ebuild}} merge`

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
`eject`
- Eject a specific device (the default order is cd-rom, scsi, floppy and tape):
- Eject a specific device (the default order is cd-rom, scsi, floppy, and tape):
`eject {{/dev/cdrom}}`

View File

@@ -8,11 +8,11 @@ source: https://github.com/tldr-pages/tldr.git
> ZIP archive password cracking utility.
> More information: <https://manned.org/fcrackzip>.
- Brute-force a password with a length of 4 to 8 characters, and contains only alphanumeric characters (order matters):
- Brute-force a password with a length of 4 to 8 characters and contains only alphanumeric characters (order matters):
`fcrackzip {{[-b|--brute-force]}} {{[-l|--length]}} 4-8 {{[-c|--charset]}} aA1 {{archive}}`
- Brute-force a password in verbose mode with a length of 3 characters that only contains lowercase characters, `$` and `%`:
- Brute-force a password in verbose mode with a length of 3 characters that only contains lowercase characters, `$`, and `%`:
`fcrackzip {{[-v|--verbose]}} {{[-b|--brute-force]}} {{[-l|--length]}} 3 {{[-c|--charset]}} a:$% {{archive}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# flashrom
> Read, write, verify and erase flash chips.
> Read, write, verify, and erase flash chips.
> More information: <https://manned.org/flashrom>.
- Probe the chip, ensuring the wiring is correct:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# flatpak
> Build, install and run flatpak applications and runtimes.
> Build, install, and run flatpak applications and runtimes.
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak>.
- Run an installed application:

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`fuser {{path/to/file_or_directory}}`
- Show more fields (`USER`, `PID`, `ACCESS` and `COMMAND`):
- Show more fields (`USER`, `PID`, `ACCESS`, and `COMMAND`):
`fuser {{[-v|--verbose]}} {{path/to/file_or_directory}}`

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo genkernel all`
- Build and install the bzImage|initramfs|kernel|ramdisk only:
- Build and install the bzImage, initramfs, kernel, or ramdisk only:
`sudo genkernel {{bzImage|initramfs|kernel|ramdisk}}`

View File

@@ -8,10 +8,10 @@ source: https://github.com/tldr-pages/tldr.git
> Set the default boot entry for GRUB, for the next boot only.
> More information: <https://manned.org/grub-reboot>.
- Set the default boot entry to an entry number, name or identifier for the next boot:
- Set the default boot entry to an entry number, name, or identifier for the next boot:
`sudo grub-reboot {{entry_number}}`
- Set the default boot entry to an entry number, name or identifier for an alternative boot directory for the next boot:
- Set the default boot entry to an entry number, name, or identifier for an alternative boot directory for the next boot:
`sudo grub-reboot --boot-directory /{{path/to/boot_directory}} {{entry_number}}`

View File

@@ -8,10 +8,10 @@ source: https://github.com/tldr-pages/tldr.git
> Set the default boot entry for GRUB.
> More information: <https://manned.org/grub-set-default>.
- Set the default boot entry to an entry number, name or identifier:
- Set the default boot entry to an entry number, name, or identifier:
`sudo grub-set-default {{entry_number}}`
- Set the default boot entry to an entry number, name or identifier for an alternative boot directory:
- Set the default boot entry to an entry number, name, or identifier for an alternative boot directory:
`sudo grub-set-default --boot-directory /{{path/to/boot_directory}} {{entry_number}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# guix package
> Install, upgrade and remove Guix packages, or rollback to previous configurations.
> Install, upgrade, and remove Guix packages or rollback to previous configurations.
> More information: <https://guix.gnu.org/manual/en/guix.html#Invoking-guix-package>.
- Install a new package:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# homectl
> Create, remove, change or inspect home directories using the systemd-homed service.
> Create, remove, change, or inspect home directories using the systemd-homed service.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/homectl.html>.
- List user accounts and their associated home directories:

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# i7z
> An Intel CPU (only i3, i5 and i7) realtime reporting tool.
> An Intel CPU (only i3, i5, and i7) realtime reporting tool.
> More information: <https://manned.org/i7z>.
- Start i7z (needs to be run in superuser mode):

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`sudo importctl pull-tar {{URL}} {{path/to/directory}}`
- Pull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file:
- Pull or download from a remote source that is either raw or `.qcow2` file, and stores it as a raw file:
`sudo importctl pull-raw {{https://example.com/source.ext}} {{name}} --class={{machine|portable|sysext|confext}}`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
`ionice {{[-c|--class]}} {{scheduling_class}} {{[-n|--classdata]}} {{priority}} {{command}}`
- Set I/O scheduling class of a running process with a specific [p]id, [P]gid or [u]id:
- Set I/O scheduling class of a running process with a specific [p]id, [P]gid, or [u]id:
`ionice {{[-c|--class]}} {{scheduling_class}} -{{p|P|u}} {{id}}`

View File

@@ -5,12 +5,12 @@ source: https://github.com/tldr-pages/tldr.git
---
# iptables
> Configure tables, chains and rules of the Linux kernel IPv4 firewall.
> Configure tables, chains, and rules of the Linux kernel IPv4 firewall.
> Use `ip6tables` to set rules for IPv6 traffic.
> See also: `iptables-save`, `iptables-restore`.
> More information: <https://manned.org/iptables>.
- View chains, rules, packet/byte counters and line numbers for the filter table:
- View chains, rules, packet/byte counters, and line numbers for the filter table:
`sudo iptables {{[-vnL --line-numbers|--verbose --numeric --list --line-numbers]}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# iw dev
> Show and manipulate wireless devices.
> For a list of channels, frequencies and reg information: <https://wireless.docs.kernel.org/en/latest/en/developers/documentation/channellist.html>.
> For a list of channels, frequencies, and reg information: <https://wireless.docs.kernel.org/en/latest/en/developers/documentation/channellist.html>.
> More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.
- Set device to monitor mode (interface must be down first. See also: `ip link`):

View File

@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
`jhead -n%Y_%m_%d-%H_%M_%S *.jpg`
- Rotate losslessly all JPEG images by 90, 180 or 270 based on the EXIF orientation tag:
- Rotate losslessly all JPEG images by 90, 180, or 270 degrees based on the EXIF orientation tag:
`jhead -autorot *.jpg`

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
`jpegtran {{[-f|-flip]}} {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
- Rotate an image 90, 180 or 270 degrees clockwise:
- Rotate an image 90, 180, or 270 degrees clockwise:
`jpegtran {{[-ro|-rotate]}} {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# ldapdomaindump
> Dump users, computers, groups, OS and membership information via LDAP to HTML, JSON and greppable output.
> Dump users, computers, groups, OS, and membership information via LDAP to HTML, JSON, and greppable output.
> See also: `ldapsearch`.
> More information: <https://github.com/dirkjanm/ldapdomaindump#usage>.

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Advanced log file viewer to analyze logs with little to no setup.
> More information: <https://docs.lnav.org/en/latest/cli.html>.
- View logs of a program, specifying log files, directories or URLs:
- View logs of a program, specifying log files, directories, or URLs:
`lnav {{path/to/log_or_directory|url}}`

View File

@@ -13,7 +13,7 @@ source: https://github.com/tldr-pages/tldr.git
`lsipc`
- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets:
- Show information about active shared [m]emory segments, message [q]ueues, or [s]empahore sets:
`lsipc {{--shmems|--queues|--semaphores}}`
@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
`lsipc {{[-o|--output]}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`
- Use [r]aw, [J]SON, [l]ist or [e]xport (key="value") format:
- Use [r]aw, [J]SON, [l]ist, or [e]xport (key="value") format:
`lsipc {{--raw|--json|--list|--export}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# lvmdump
> Collect diagnostic information about LVM2 (Logical Volume Manager).
> By default, outputs a compressed tar archive with system and configuration data in the home directory.
> By default, outputs a compressed `.tar` archive with system and configuration data in the home directory.
> More information: <https://manned.org/lvmdump>.
- Generate a basic dump:

Some files were not shown because too many files have changed in this diff Show More