root@0xpriv:~# history | grep -v boring
Snippets
One-liners worth keeping, with the flags that matter highlighted. Copy, change the target to something you are allowed to test, and run.
Cheat sheet
1 matchingjournalctl
Successful SSH logins, last day. The lines that matter in a noisy auth log.
journalctl -u ssh --since "24 hours ago" \ | grep "Accepted"