Bash Shell Redirects
A quick reference for the most common bash shell redirect operators, with examples showing how to send stdout and stderr to files or swap them.
read more
Check and Backup Databases
A quick bash workflow for running integrity checks and generating SQL dumps across a set of user databases in MySQL.
read more
Check Disk State
A quick one-liner to list every mounted ext3 or ext4 partition along with its label and filesystem state, useful for spotting unclean shutdowns or journal issues at a glance.
read more
Check MySQL User Permissions
A quick way to inspect what SELECT and UPDATE privileges a MySQL user actually holds, straight from the mysql.user table. Useful when an application is throwing permission errors and you need to confirm what the account can and cannot do.
read more
Chroot Suggested Mounts for Rescue
A quick walkthrough of using virt-rescue to generate the correct mount commands for a chroot rescue session on a libvirt guest.
read more
Create Symbols and Resolve Stack (MySQL)
Learn how to extract dynamic symbols from the mysqld binary and use them to resolve a crash stack dump into readable function names.
read more