mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 16:55:55 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/certtool
Normal file
29
tldr/linux/certtool
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# certtool
|
||||
|
||||
> Generate and manage X.509 certificates, keys, and PKI structures using GnuTLS.
|
||||
> More information: <https://gnutls.org/manual/gnutls.html#certtool-Invocation>.
|
||||
|
||||
- Generate a private key and save it to a file:
|
||||
|
||||
`certtool {{[-p|--generate-privkey]}} --outfile {{path/to/private.key}}`
|
||||
|
||||
- Generate a self-signed certificate using a private key and a template file:
|
||||
|
||||
`certtool {{[-s|--generate-self-signed]}} --load-privkey {{path/to/private.key}} --template {{path/to/info.template}} --outfile {{path/to/certificate.crt}}`
|
||||
|
||||
- Generate a certificate signing request (CSR):
|
||||
|
||||
`certtool {{[-q|--generate-request]}} --load-privkey {{path/to/private.key}} --template {{path/to/info.template}} --outfile {{path/to/request.csr}}`
|
||||
|
||||
- Generate a certificate authority (CA) certificate:
|
||||
|
||||
`certtool {{[-s|--generate-self-signed]}} --load-privkey {{path/to/ca.key}} --template {{path/to/ca.template}} --outfile {{path/to/ca.crt}}`
|
||||
|
||||
- Verify a certificate against a CA certificate:
|
||||
|
||||
`certtool --verify --infile {{path/to/certificate.crt}} --load-ca-certificate {{path/to/ca.crt}}`
|
||||
@@ -8,9 +8,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Command-line Music Player.
|
||||
> Use `<ArrowKeys>` to navigate, `<Enter>` to select, and numbers `<1>`-`<8>` switch between different views.
|
||||
> See also: `ncmpcpp`, `clementine`, `qmmp`.
|
||||
> More information: <https://cmus.github.io>.
|
||||
> More information: <https://manned.org/cmus>.
|
||||
|
||||
- Open cmus into the specified directory (this will become your new working directory):
|
||||
- Open `cmus` into the specified directory (this will become your new working directory):
|
||||
|
||||
`cmus {{path/to/directory}}`
|
||||
|
||||
@@ -18,6 +18,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`<:>add {{path/to/file_or_directory}}`
|
||||
|
||||
- Refresh the metadata of songs in the library:
|
||||
|
||||
`<:>update-cache`
|
||||
|
||||
- Search for songs, albums, or artists:
|
||||
|
||||
`</>{{something}}`
|
||||
|
||||
- Pause/unpause current song:
|
||||
|
||||
`<c>`
|
||||
@@ -26,6 +34,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`<s>`
|
||||
|
||||
- Quit cmus:
|
||||
- Quit `cmus`:
|
||||
|
||||
`<q>`
|
||||
|
||||
14
tldr/linux/pirut
Normal file
14
tldr/linux/pirut
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pirut
|
||||
|
||||
> Graphical frontend for `yum`.
|
||||
> See also: `yum`.
|
||||
> More information: <https://manned.org/pirut>.
|
||||
|
||||
- Launch `pirut`:
|
||||
|
||||
`pirut`
|
||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all audio output and input ports with their IDs:
|
||||
|
||||
`pw-link {{[-oiI|--output --input --ids]}}`
|
||||
`pw-link {{[-oiI|--output --input --id]}}`
|
||||
|
||||
- Create a link between an output and an input port:
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all links with their IDs:
|
||||
|
||||
`pw-link {{[-lI|--links --ids]}}`
|
||||
`pw-link {{[-lI|--links --id]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user