About 38 results
https://rednafi.com/misc/bash-namerefs/ · 20 Sep 2024
Master Bash namerefs with declare -n to create dynamic variable references. Build generic functions for arrays and associative arrays without eval.
https://rednafi.com/misc/install/ · 28 Jul 2024
Replace mkdir, cp, and chmod with a single install command. Copy files, create directories, and set permissions in one step with GNU coreutils.
https://marko.tech/journal/docker-commands-cheatsheet · 14 Apr 2024
This is a quick cheatsheet for the most commonly used Docker Commands.
https://rednafi.com/misc/pesky-little-scripts/ · 29 Oct 2023
Organize custom scripts with comma-prefixed naming. Improve tab completion and eliminate clutter by prefixing script names with special characters.
https://rednafi.com/misc/dotfile-stewardship-for-the-indolent/ · 27 Sep 2023
Manage dotfiles across devices with GNU Stow. Symlink configuration files from git repo to home directory with simple, idempotent commands.
https://rednafi.com/misc/dynamic-menu-with-select-in-bash/ · 29 Apr 2023
Build interactive CLI menus with Bash select statement. Create user-friendly command-line tools with option selection and function dispatch.
https://rednafi.com/misc/terminal-text-formatting-with-tput/ · 23 Apr 2023
Format terminal output with tput instead of ANSI codes. Set colors, bold text, underlines, and backgrounds with simple commands in shell scripts.
https://marko.tech/journal/setting-up-zshell · 11 Apr 2023
This tutorial will guide you through the process of setting up custom commands and aliases for ZShell and its plugins.
https://rednafi.com/misc/colon-command-in-shell-scripts/ · 23 Dec 2022
Use the colon : command as a no-op in Bash scripts for cleaner debug output with -x flag. Alternative to echo for section markers and comments.
https://marko.tech/journal/git-config-shortcuts · 6 Dec 2022
A straightforward guide to setting up your computer for development based on what I use and how to install it.