mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 04:59:56 +00:00
Update cheatsheets
This commit is contained in:
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`lspci`
|
||||
|
||||
- Display additional info:
|
||||
- Display additional information (Note: the `-v` flag can be repeated to increase verbosity):
|
||||
|
||||
`lspci -v`
|
||||
|
||||
|
||||
25
tldr/linux/mount.steamos
Normal file
25
tldr/linux/mount.steamos
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mount.steamos
|
||||
|
||||
> Mount or unmount SteamOS filesystem partitions.
|
||||
> More information: <https://gitlab.com/users/evlaV/projects>.
|
||||
|
||||
- Mount all necessary partitions from a device to a target directory:
|
||||
|
||||
`sudo mount.steamos {{/dev/sdX}} {{/mnt}}`
|
||||
|
||||
- Mount with options to exclude specific partitions (e.g. `/home`, overlays):
|
||||
|
||||
`sudo mount.steamos {{[-o|--options]}} nohome,nooverlay {{/dev/sdX}} {{/mnt}}`
|
||||
|
||||
- Unmount all partitions mounted under a target directory:
|
||||
|
||||
`sudo mount.steamos -u {{/mnt}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`mount.steamos {{[-h|--help]}}`
|
||||
12
tldr/linux/steamos-boot-install
Normal file
12
tldr/linux/steamos-boot-install
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# steamos-boot-install
|
||||
|
||||
> This command is an alias of `steamos-finalize-install`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr steamos-finalize-install`
|
||||
22
tldr/linux/steamos-devmode
Normal file
22
tldr/linux/steamos-devmode
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# steamos-devmode
|
||||
|
||||
> Enable SteamOS developer mode.
|
||||
> Note: Developer mode disables read-only protections and initializes the package manager.
|
||||
> More information: <https://gitlab.com/users/evlaV/projects>.
|
||||
|
||||
- Enable developer mode:
|
||||
|
||||
`sudo steamos-devmode enable`
|
||||
|
||||
- Enable developer mode without confirmation prompt:
|
||||
|
||||
`sudo steamos-devmode enable --no-prompt`
|
||||
|
||||
- Check if developer mode is currently enabled:
|
||||
|
||||
`sudo steamos-devmode status`
|
||||
29
tldr/linux/steamos-finalize-install
Normal file
29
tldr/linux/steamos-finalize-install
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# steamos-finalize-install
|
||||
|
||||
> Complete a SteamOS installation by setting up bootloaders and applying system updates.
|
||||
> More information: <https://gitlab.com/users/evlaV/projects>.
|
||||
|
||||
- Finalize the installation:
|
||||
|
||||
`sudo steamos-finalize-install`
|
||||
|
||||
- Finalize without updating bootloaders or kernel:
|
||||
|
||||
`sudo steamos-finalize-install --no-bootloaders --no-kernel`
|
||||
|
||||
- Skip all migration steps:
|
||||
|
||||
`sudo steamos-finalize-install --no-migrate`
|
||||
|
||||
- Set a specific root hash during finalization:
|
||||
|
||||
`sudo steamos-finalize-install --roothash {{hash}}`
|
||||
|
||||
- Force system migration steps regardless of environment:
|
||||
|
||||
`sudo steamos-finalize-install --force`
|
||||
31
tldr/linux/zsync
Normal file
31
tldr/linux/zsync
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zsync
|
||||
|
||||
> Partial/differential file downloader.
|
||||
> HTTPS is not supported - use HTTP URLs only.
|
||||
> See also: `rsync`.
|
||||
> More information: <https://manned.org/zsync>.
|
||||
|
||||
- Download a file using a `.zsync` control file:
|
||||
|
||||
`zsync {{path/to/url.zsync}}`
|
||||
|
||||
- Use a local file as a seed to avoid re-downloading unchanged parts:
|
||||
|
||||
`zsync -i {{path/to/existing_file}} {{path/to/url.zsync}}`
|
||||
|
||||
- Save the updated file under a specific name:
|
||||
|
||||
`zsync -i {{path/to/existing_file}} -o {{path/to/new_file}} {{path/to/url.zsync}}`
|
||||
|
||||
- Resume a partial download and keep the temporary file:
|
||||
|
||||
`zsync -k {{path/to/url.zsync}}`
|
||||
|
||||
- Run in quiet mode with minimal output (no progress bar, download rate, or ETA display):
|
||||
|
||||
`zsync -q {{path/to/url.zsync}}`
|
||||
Reference in New Issue
Block a user