mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 18:47:06 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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
26
tldr/linux/routel
Normal 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]}}`
|
||||
15
tldr/linux/systemctl-daemon-reload
Normal file
15
tldr/linux/systemctl-daemon-reload
Normal 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
38
tldr/linux/systemctl-halt
Normal 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`
|
||||
Reference in New Issue
Block a user