Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-05 00:20:17 +00:00
parent 01a2679eb0
commit 24a1ff26c2
10 changed files with 195 additions and 6 deletions

View File

@@ -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
View 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]}}`

View 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`

View 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`

View 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
View 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}}`