mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 05:55:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo aide {{[-u|--update]}}`
|
||||
|
||||
- Define a config file to override the default {{./aide.conf}}:
|
||||
- Define a config file to override the default `./aide.conf`:
|
||||
|
||||
`sudo aide {{[-c|--config]}} {{path/to/config_file}}`
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Verify fingerprints for a specific user:
|
||||
|
||||
`fprint-verify {{username}}`
|
||||
`fprintd-verify {{username}}`
|
||||
|
||||
- Verify a specific fingerprint for a specific user:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Fail the process if a fingerprint doesn't match with ones stored in the database for the current user:
|
||||
|
||||
`fprint-verify --g-fatal-warnings`
|
||||
`fprintd-verify --g-fatal-warnings`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Disable a specific extension:
|
||||
|
||||
`gnome-extension disable "{{extension_id}}"`
|
||||
`gnome-extensions disable "{{extension_id}}"`
|
||||
|
||||
- Uninstall a specific extension:
|
||||
|
||||
`gnome-extension uninstall "{{extension_id}}"`
|
||||
`gnome-extensions uninstall "{{extension_id}}"`
|
||||
|
||||
- Display help for a specific subcommand (like `list`):
|
||||
|
||||
|
||||
@@ -27,3 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Dump info in a readable form:
|
||||
|
||||
`lspci -vm`
|
||||
|
||||
- Show PCI vendor and device codes alongside its name:
|
||||
|
||||
`lspci -nn`
|
||||
|
||||
@@ -8,6 +8,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Clone a container.
|
||||
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
|
||||
|
||||
- Clone a container:
|
||||
|
||||
`pct clone {{template_id}} {{copy_id}}`
|
||||
|
||||
- Clone a container with a custom name:
|
||||
|
||||
`pct clone {{template_id}} {{copy_id}} --hostname {{host_name}}`
|
||||
|
||||
21
tldr/linux/pct-set
Normal file
21
tldr/linux/pct-set
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pct set
|
||||
|
||||
> Set container options.
|
||||
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
|
||||
|
||||
- Set container to start automatically on boot:
|
||||
|
||||
`pct set {{100}} --onboot`
|
||||
|
||||
- Set a container to have a static IP:
|
||||
|
||||
`pct set {{100}} --net0 name=eth0,bridge=vmbr0,ip={{10.0.0.100/24}},gw={{10.0.0.1}}`
|
||||
|
||||
- Set container memory limit:
|
||||
|
||||
`pct set {{100}} --memory {{8192}}`
|
||||
@@ -5,38 +5,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snap
|
||||
|
||||
> Manage the "snap" self-contained software packages.
|
||||
> Similar to what `apt` is for `.deb`.
|
||||
> More information: <https://manned.org/snap>.
|
||||
> `snap` can refer to multiple commands with the same name.
|
||||
|
||||
- Search for a package:
|
||||
- View documentation for the packaging solution:
|
||||
|
||||
`snap find {{query}}`
|
||||
`tldr snap.pkg`
|
||||
|
||||
- Install a package:
|
||||
- View documentation for the European Space Agency Earth observation data processing tool:
|
||||
|
||||
`snap install {{package}}`
|
||||
|
||||
- Update a package:
|
||||
|
||||
`snap refresh {{package}}`
|
||||
|
||||
- Update a package to another channel (track, risk, or branch):
|
||||
|
||||
`snap refresh {{package}} --channel={{channel}}`
|
||||
|
||||
- Update all packages:
|
||||
|
||||
`snap refresh`
|
||||
|
||||
- Display basic information about installed snap software:
|
||||
|
||||
`snap list`
|
||||
|
||||
- Uninstall a package:
|
||||
|
||||
`snap remove {{package}}`
|
||||
|
||||
- Check for recent snap changes in the system:
|
||||
|
||||
`snap changes`
|
||||
`tldr snap.esa`
|
||||
|
||||
17
tldr/linux/snap.esa
Normal file
17
tldr/linux/snap.esa
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snap
|
||||
|
||||
> Sentinel Application Platform (SNAP) for processing satellite data from the European Space Agency (ESA).
|
||||
> More information: <https://step.esa.int/main/download/snap-download/>.
|
||||
|
||||
- Display all updates:
|
||||
|
||||
`snap --nosplash --nogui --modules --list --refresh`
|
||||
|
||||
- Display help:
|
||||
|
||||
`snap --help`
|
||||
42
tldr/linux/snap.pkg
Normal file
42
tldr/linux/snap.pkg
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snap
|
||||
|
||||
> Manage the "snap" self-contained software packages.
|
||||
> Similar to what `apt` is for `.deb`.
|
||||
> More information: <https://manned.org/snap>.
|
||||
|
||||
- Search for a package:
|
||||
|
||||
`snap find {{query}}`
|
||||
|
||||
- Install a package:
|
||||
|
||||
`snap install {{package}}`
|
||||
|
||||
- Update a package:
|
||||
|
||||
`snap refresh {{package}}`
|
||||
|
||||
- Update a package to another channel (track, risk, or branch):
|
||||
|
||||
`snap refresh {{package}} --channel={{channel}}`
|
||||
|
||||
- Update all packages:
|
||||
|
||||
`snap refresh`
|
||||
|
||||
- Display basic information about installed snap software:
|
||||
|
||||
`snap list`
|
||||
|
||||
- Uninstall a package:
|
||||
|
||||
`snap remove {{package}}`
|
||||
|
||||
- Check for recent snap changes in the system:
|
||||
|
||||
`snap changes`
|
||||
Reference in New Issue
Block a user