Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-25 00:17:31 +00:00
parent c61ed984a6
commit cd219fe1e7
7 changed files with 64 additions and 5 deletions

30
tldr/linux/init Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# init
> Linux run level manager.
> Requires the SYSVINIT compile-time option to be enabled if using systemd.
> More information: <https://manned.org/man/init.8>.
- Set the system to run a graphical environment:
`sudo init 5`
- Set the system to run multiuser terminal:
`sudo init 3`
- Shut down the system:
`init 0`
- Reboot the system:
`init 6`
- Set the system to run on terminal with only root user allowed and no networking:
`sudo init 1`

29
tldr/linux/tuned-adm Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# tuned-adm
> Manage and optimize system performance tuning profiles on Linux.
> More information: <https://tuned-project.org>.
- List available profiles:
`tuned-adm list`
- Show the currently active profile:
`tuned-adm active`
- Set a specific tuning profile:
`tuned-adm profile {{profile_name}}`
- Recommend a suitable profile based on the current system:
`tuned-adm recommend`
- Disable tuning:
`tuned-adm off`