Glen Turner on Nostr: One upon a time you could type `logout` to end a session. If you feel the need, ...
One upon a time you could type `logout` to end a session. If you feel the need, here's the current equivalent
```
loginctl terminate-session $(< /proc/self/sessionid)
```
#linux
Published at
2025-04-10 16:10:33Event JSON
{
"id": "ab97464504bfb5041b9ad3049f1c7c8851f515fe46f95d77c8dfb3602bcdd7fd",
"pubkey": "99b5753bb72a655b7ed1e231b89faf4c950d5611e9886251fc1680f2ca4f63ee",
"created_at": 1744301433,
"kind": 1,
"tags": [
[
"t",
"linux"
],
[
"proxy",
"https://aus.social/users/glent/statuses/114314538716658181",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "One upon a time you could type `logout` to end a session. If you feel the need, here's the current equivalent\n```\nloginctl terminate-session $(\u003c /proc/self/sessionid)\n```\n\n#linux",
"sig": "7129658887492cfdaf82bdffc8c49e30b1e2f2925f54e5b58ea8815f02fb0db216b7c0b306f33bd7583f67c88ac3366a06098c0dffb837e7ff11fe014b43bb8c"
}