Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-18 00:18:35 +00:00
parent 9cdd033c95
commit a9720510d1
43 changed files with 362 additions and 132 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print all properties of a specific session:
`loginctl show-session {{session_id}} --all`
`loginctl show-session {{session_id}} {{[-a|--all]}}`
- Print all properties of a specific user:
@@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git
- Print a specific property of a user:
`loginctl show-user {{username}} --property {{property_name}}`
`loginctl show-user {{username}} {{[-p|--property]}} {{property_name}}`
- Execute a `loginctl` operation on a remote host:
`loginctl list-users -H {{hostname}}`
`loginctl list-users {{[-H|--host]}} {{hostname}}`
- Log a user out on all of their sessions: