Command Line Magic on Nostr: When you shutdown/reboot your system from the command line in bash, the active ...
When you shutdown/reboot your system from the command line in bash, the active session command history is lost, to preserve it by appending (-a) it to .bash_history run:
history -a
before running shutdown.
Published at
2024-08-01 13:04:04Event JSON
{
"id": "9c0890c9ac82f2cdf34c00d741b246e94ab56fab1e44d04cb60e7ba3e4f3a5e8",
"pubkey": "f5f1075f3fad1755cef1ef9024d53eafd24ea460383319ffb9949f3b6a3cde1a",
"created_at": 1722517444,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/climagic/statuses/112886903226187276",
"activitypub"
]
],
"content": "When you shutdown/reboot your system from the command line in bash, the active session command history is lost, to preserve it by appending (-a) it to .bash_history run:\n\nhistory -a\n\nbefore running shutdown.",
"sig": "ade24ec983e2db1230eceda0623598f7b8a5efc51d7e43c8a43b2539ae5c98fe05babe54a1bc21e8de535129dc933268ba3ee9c122bea45c74191b92b2352105"
}