Keep the systemd journal across reboots and cap its size
Make journald keep logs across reboots, set a size ceiling, verify it worked, and undo it. Applies to systemd-based Linux distributions.
Tag
1 article tagged tux-harlow.
Blog
Linux
Save, switch window, press up, press Enter, squint. Save, switch window, press up... Stop. entr reruns your command whenever a file changes, and watch reruns it on a timer. Two tiny tools, a thousand saved keystrokes.
Linux
grep is a legend. It's also happy to search all 80,000 files in node_modules while you wait. ripgrep searches only what matters, very quickly, with sensible defaults. The flags worth knowing, and when old grep still wins.