The sshGeoBlocker bash script uses geoiplookup to get the location of an IP address from a MaxMind GeoLite2 database. Combining this script with a fail2ban sshd jail, IP addresses can be blocked after a certain number of unsuccessful connection attempts.
Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.
This article explains how to use the find command to enumerate the number of files or folders in a directory, and how to delete old backup files or directories using the same technique.
encpass.sh is a lightweight library to use encrypted passwords in bash scripts. Secrets can be encrypted at runtime and then used, decrypted, in scripts.
Two bash scripts that can be used to back up or restore a NextCloud instance. EncPass is used to hide secrets.
This article explains how to loop over files and folders in Linux.