Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-06 00:19:32 +00:00
parent 31c618829e
commit 3e6fa5fca1
47 changed files with 214 additions and 39 deletions

View File

@@ -6,7 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
# dstat
> Versatile tool for generating system resource statistics.
> More information: <http://dag.wieers.com/home-made/dstat>.
> Note: dstat is deprecated and no longer maintained.
> More information: <https://github.com/dstat-real/dstat>.
- Display CPU, disk, net, paging and system statistics:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hyprctl
> Control parts of the Hyprland Wayland compositor.
> More information: <https://wiki.hyprland.org/Configuring/Using-hyprctl>.
> More information: <https://wiki.hypr.land/Configuring/Using-hyprctl/>.
- Reload Hyprland configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hyprpm
> Control plugins for the Hyprland Wayland compositor.
> More information: <https://wiki.hyprland.org/Plugins/Using-Plugins/#hyprpm>.
> More information: <https://wiki.hypr.land/Plugins/Using-Plugins/#hyprpm>.
- Add a plugin:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show/manipulate routing, devices, policy routing and tunnels.
> Some subcommands such as `address` have their own usage documentation.
> More information: <https://www.manned.org/ip.8>.
> More information: <https://manned.org/ip.8>.
- List interfaces with detailed info:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# poweroff
> Power off the system.
> More information: <https://www.manned.org/poweroff>.
> More information: <https://manned.org/poweroff>.
- Power off the system:

26
tldr/linux/routel Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# routel
> List IP routing in a human readable format.
> See also: `ip route`, `route`.
> More information: <https://manned.org/man/routel>.
- Display the default routing table:
`routel`
- Display a specific routing table:
`routel {{table_number|main|local|default}}`
- Display only IPv4 routes:
`routel {{[-4|--family inet]}}`
- Display only IPv6 routes:
`routel {{[-6|--family inet6]}}`

View File

@@ -0,0 +1,15 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl daemon-reload
> Reload systemd manager configuration.
> Use this after creating, modifying, or deleting unit files.
> See also: `systemctl reload` for reloading service configuration.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#daemon-reload>.
- Reload systemd to apply changes in unit files:
`systemctl daemon-reload`

38
tldr/linux/systemctl-halt Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl-halt
> Shut down and halt the system (stop the OS kernel but keep hardware powered on).
> See also: `halt`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#halt>.
- Halt the system:
`systemctl halt`
- Halt the system immediately without asking services to stop gracefully:
`systemctl halt --force`
- Halt the system immediately without sending notifications to logged-in users:
`systemctl halt --force --no-wall`
- Halt the system immediately without terminating any processes or unmounting filesystems (dangerous, may cause data loss):
`systemctl halt --force --force`
- Schedule a halt at a specific time (e.g., 23:00):
`systemctl halt --when 23:00`
- Schedule a halt after a certain duration (e.g., 2 hours):
`systemctl halt --when +2h`
- Cancel a scheduled halt:
`systemctl halt --when cancel`