Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-19 00:22:04 +00:00
parent aa594e72af
commit 9c64f72b0c
25 changed files with 607 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl set-default
> Symlink the `default.target` alias to the given target unit.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#set-default%20TARGET>.
- Set `systemd`'s default boot mode:
`systemctl set-default {{target_name.target}}`
- Set `systemd` to boot to GUI mode by default:
`systemctl set-default graphical.target`
- Set `systemd` to boot to CLI mode by default:
`systemctl set-default multi-user.target`