A collection of notes from the small Linux projects I build and experiment with. Feel free to look around.
π Contents
69 notes. π€ = translated with AI.
General
- Bash OTP Generator
- Find Files, Excluding Hidden Files
- Linux CLI Cheatsheet (Daily Use)
- OpenPGP / GnuPG Cheat Sheet
Ai
Backup
Backup / Tape
Bash Tricks
Benchmark
CLI
- CLI
- Bye Bye Screen, Hello Zellij
- Copy and Paste in the CLI
- Diff: compare two files
- Extract a Column
- Generate a QR code from a pipe in the Linux CLI
- ImageMagick
- Kitty Terminal: My Working Config
- List outgoing connections
- Put every word on its own line
- Read Markdown in the CLI
Docker
Fedora
- Fedora
- Install Linux on a Fujitsu Lifebook
- Keyboard not working on Fujitsu Lifebook on Fedora 36
- Shortcuts on the Fedora desktop
Fetchmail
Firefox
Git
GnuPG
KVM
Markdown
Networking
Permissions
RS232
SSH
- SSH
- Best practice: generate an SSH key pair
- Connect to a Cisco switch with SSH
- Harden an SSH Server: sshd, Firewall and fail2ban
- Login Email Notifications with PAM
- Permissions for SSH Files
- SSH config file
SSL
- SSL
- Extract the Public Key from a Private Key with OpenSSL
- How to Set Up Your Own CA with OpenSSL
- SSL Certificate Signing Request Best Practices
- SSL Checks
- SSL Rehash and File Permissions
Systemd
YubiKey
- YubiKey on Linux β Get Started the Safe Way
- YubiKey 1 β Installation (Debian/Ubuntu and Fedora)
- YubiKey 2 β First-time setup (the bare minimum)
- YubiKey 3 β TOTP codes (OATH)
- YubiKey 4 β SSH with FIDO2
- YubiKey 5 β OpenPGP: GPG and SSH
- YubiKey 6 β age encryption (PIV)
- YubiKey 7 β Linux login with PAM (sudo, desktop, TTY)
- YubiKey 8 β Troubleshooting
- YubiKey 9 β Disk encryption (LUKS) and Git signing
π οΈ My projects on GitHub
Scripts and templates from my day-to-day work, each in its own repository:
| Area | Repository | What it does |
|---|---|---|
| Monitoring | zabbix_ups_universal_template | A simple universal UPS template for Zabbix (the APC defaults gave errors), with a small dashboard |
| zabbix_dell_optical_interfaces | Discovers the optical interfaces of a Dell switch and graphs their receive and transmit power | |
| zabbix_database_upgrade | Fixes “Unsupported charset or collation for tables” after a Zabbix upgrade | |
| grafana_openldap | Grafana roles from OpenLDAP, using departmentNumber as the group | |
| curl_json_dump_to_influx_python | A lean template to fetch JSON from the web and write it to InfluxDB | |
| Slimme_Meter_naar_influxDB_grafnan | Reads the Dutch smart energy meter (P1 port) into InfluxDB for Grafana | |
| Mail and web | postfix-docker-from-source | Builds Postfix from source in a Docker container, for a fast and secure outgoing mail service |
| caddy_config_examples | Caddy v2 configuration examples, per domain | |
| Cloudflare-ufw-rule-creator | Allows Cloudflare’s IP ranges through the UFW firewall | |
| wordpress_chown_chmod and wordpress_nginx_proxy_layout | WordPress file permissions, and a wp-config fix for a broken layout behind an nginx proxy | |
| check-SSL-expiry-in-daysbash-script | How many days a certificate is still valid, for one domain or a whole list | |
| Microsoft | powershell_lockout_source_tracker | Finds which computer keeps locking an Active Directory account |
| Bulk-Import-users-Azure | Adds users in bulk to Entra ID (Azure AD) security groups and Exchange Online groups | |
| Desktop | kitty_terminal_working_config_example | My kitty terminal configuration, see CLI |
| bookmarks | bm, bookmarks as Markdown files, managed like pass | |
| calcurse_export_to_html | Exports the calcurse calendar to HTML |
All repositories: github.com/Benjamin-Italiaander.