Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/linux/loginctl Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# loginctl
> Manage the systemd login manager.
> More information: <https://www.freedesktop.org/software/systemd/man/loginctl.html>.
- Print all current sessions:
`loginctl list-sessions`
- Print all properties of a specific session:
`loginctl show-session {{session_id}} --all`
- Print all properties of a specific user:
`loginctl show-user {{username}}`
- Print a specific property of a user:
`loginctl show-user {{username}} --property={{property_name}}`
- Execute a `loginctl` operation on a remote host:
`loginctl list-users -H {{hostname}}`