About 38 results
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://aslakr.folk.ntnu.no/2023/05/hei-cgi/ · 5 May 2023
Eksempel på enkel cgi i sh(1) #!/bin/sh echo "Content-type: text/plain" echo echo 'Hei!'
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.
https://rednafi.com/misc/process-substitution-in-bash/ · 30 Apr 2023
Use process substitution <() to treat command output as files in Bash. Compare directories, process data, and avoid temporary files with this technique.
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://rednafi.com/misc/tinkering-with-unix-domain-socket/ · 11 Mar 2023
Build Unix domain socket servers and clients with Python and socat. Access Docker API via UDS, create HTTP servers, and optimize inter-process communication.
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://rednafi.com/misc/audit-commit-messages-on-github/ · 6 Oct 2022
Automate commit message validation with GitHub Actions. Enforce refs and closes patterns to maintain clean Git history and link commits to issues.