Minimal safe Bash script template

Minimal Bash script template that will make your scripts safer, consistent with standards, and provide a way to parse and validate parameters.

Source: Minimal safe Bash script template | Better Dev

How To Repeat A Command Every X Seconds On Linux

This article explains how to repeat a command every X seconds, in 2 ways: using watch, and using sleep in a while loop (avoiding time drifting).

Source: How To Repeat A Command Every X Seconds On Linux – Linux Uprising Blog

Free up Disk Space – Clear Systemd Journal Logs in Ubuntu 20.04

Going to free up Ubuntu system disk space? Try clearing the systemd journal logs, it may free up a few GB of space.
…..
You can also edit the configuration file to limit the journal log disk usage (100 MB for example).

Source: Free up Disk Space – Clear Systemd Journal Logs in Ubuntu 20.04 | UbuntuHandbook