Linux

System administration, shell scripting, and infrastructure management — mostly from the trenches of a daily-driver Arch Linux setup and the homelab.

Bash Scripting Logical Operators

AND: && Run the second command only if the first succeeds: mkdir mydir && cd mydir git pull && echo "Pull successful" OR: || Run the second command only if the first fails: cd mydir || …

Full article »

Arch-Linux Secureboot

Complete guide for setting up Arch Linux with Secure Boot using Ubuntu’s signed shim and systemd-boot on systems with locked BIOS (cannot disable Secure Boot or enroll custom keys). Prerequisites Ventoy USB with …

Full article »