Update cheatsheets

This commit is contained in:
ivuorinen
2024-07-11 00:15:37 +00:00
parent 090c38f352
commit 750a1b15d0
13 changed files with 285 additions and 14 deletions

View File

@@ -8,22 +8,22 @@ source: https://github.com/tldr-pages/tldr.git
> Manipulate the UEFI Boot Manager.
> More information: <https://manned.org/efibootmgr>.
- List the current settings then bootnums with their name:
- List all boot options with their numbers:
`efibootmgr`
- List the filepaths:
`efibootmgr -v`
`efibootmgr {{-u|--unicode}}`
- Add UEFI Shell v2 as a boot option:
`sudo efibootmgr -c -d {{/dev/sda1}} -l {{FI ools\Shell.efi}} -L "{{UEFI Shell}}"`
`sudo efibootmgr -c -d {{/dev/sda}} -p {{1}} -l "{{\path o\shell.efi}}" -L "{{UEFI Shell}}"`
- Add Linux as a boot option:
`sudo efibootmgr --create --disk {{/dev/sda}} --part {{1}} --loader "{{ mlinuz}}" --unicode "{{kernel_cmdline}}" --label "{{Linux}}"`
- Change the current boot order:
`sudo efibootmgr -o {{0002,0008,0001,0005}}`
`sudo efibootmgr {{-o|--bootorder}} {{0002,0008,0001,0005}}`
- Delete a boot option:
`sudo efibootmgr -b {{0008}} --delete-bootnum`
`sudo efibootmgr {{-b|--bootnum}} {{0008}} {{-B|--delete-bootnum}}`

View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# steamos-add-to-steam
> Add a program to Steam library.
> More information: <https://gitlab.com/users/evlaV/projects>.
- Add a program to Steam library:
`steamos-add-to-steam {{path/to/file}}`

View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# steamos-dump-info
> View SteamOS system information.
> More information: <https://gitlab.com/users/evlaV/projects>.
- View SteamOS system information:
`sudo steamos-dump-info`

View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# steamos-readonly
> Set the readonly status of the filesystem.
> More information: <https://gitlab.com/users/evlaV/projects>.
- Set the filesystem to be mutable:
`sudo steamos-readonly disable`
- Set the filesystem to be read only:
`sudo steamos-readonly enable`

View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# steamos-session-select
> Manipulate which session is currently in use.
> More information: <https://gitlab.com/users/evlaV/projects>.
- Change to desktop mode:
`steamos-session-select plasma`
- Change to gamemode:
`steamos-session-select gamescope`
- Change to Wayland desktop mode:
`steamos-session-select plasma-wayland-persistent`
- Change to X11 desktop mode:
`steamos-session-select plasma-x11-persistent`

17
tldr/linux/steamos-update Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# steamos-update
> Update SteamOS.
> More information: <https://gitlab.com/users/evlaV/projects>.
- Update the operating system:
`steamos-update`
- Check if there is an update available:
`steamos-update check`