Standard Search
About 38 results
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://rednafi.com/misc/heredoc-headache/ · 19 Jul 2024
Avoid here-doc pitfalls when running remote commands via SSH. Learn variable expansion gotchas and simpler alternatives for deployment scripts.
https://rednafi.com/misc/on-rebasing/ · 18 Jun 2024
Master git rebase for cleaner commit history. Learn interactive rebasing, squashing commits, and rebasing feature branches onto main with practical examples.
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/dns-record-to-share-text/ · 17 Jul 2023
Share data via DNS TXT records using dig and base64 encoding. Learn limitations, security concerns, and practical use cases for DNS tunneling.
https://rednafi.com/python/unix-style-pipeline-with-subprocess/ · 14 Jul 2023
Build Unix-style command pipelines in Python using subprocess.run with stdout piping for efficient process chaining and output capture.
https://rednafi.com/python/implement-traceroute/ · 1 Jun 2023
Build a traceroute clone in Python using UDP and ICMP sockets to trace network packet routes and measure hop latency with TTL manipulation.
https://rednafi.com/misc/fixed-time-task-scheduling-with-at/ · 14 May 2023
Schedule one-time commands with UNIX at command. Learn job queuing, remote scheduling via HTTP API, and managing atd/atrun daemons.
https://rednafi.com/misc/associative-arrays-in-bash/ · 3 May 2023
Learn how to use associative arrays in Bash to create key-value pairs, mimic dictionaries, and manage complex data structures in shell scripts.