Skip to content

ZSH / Bash shell guides

Command-line tips, database admin notes, and shell productivity guides.

Articles

Useful shell aliases

Collection of useful shell aliases for ZSH and Bash to improve productivity.

Linux

Duplicate MySQL table

How to copy MySQL or MariaDB table data and structure to a new table.

Linux

Fix SSH directory permissions

Learn how to correctly set SSH file permissions after moving your .ssh directory to a new computer.

Linux

Install MariaDB on Ubuntu

Step-by-step guide to installing MariaDB on Ubuntu and configuring remote access.

Linux

Search directory for a string

How to search files in a directory for specific text strings using command line tools.

Linux

Update global Bun packages

How to update globally-installed packages with Bun using a one-line command or a shell alias.

Linux

Useful shell functions

Helpful shell functions for ZSH and Bash to automate common tasks.

Linux