System Grab Bag

View all TLDR pages from Linux (or from all pages)

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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.