mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 05:51:17 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user