Do One Thing and Do It Well
In October 1984 two ideologues published a radical manifesto… sort of. Program Design in the UNIX Environment, by comp-sci legends Brian Kernighan and Rob Pike, articulated a pattern for software architecture that both men had already spent years fighting to preserve.
A simple static site generator
mkws A simple static site generator Quickstart On a Linux machine, in a terminal: curl -so – https://email@example.com | tar -xzvf – mv ws.sh example.com && cd example.com echo “hello, world” > index.upphtml bin/mkws https://example.
How “Exit Traps” Can Make Your Bash Scripts Way More Robust And Reliable
There is a simple, useful idiom to make your bash scripts more robust – ensuring they always perform necessary cleanup operations, even when something unexpected goes wrong.
The musings of bluz71
This is a 2023 followup to my 2018 Bash Shell Tweaks & Tips article. Since that last article there has been a renaissance in shell-agnostic command line tooling, often implemented in high-performance Rust, that has elevated the interactive shell experience.
AI for the command line, built for pipelines. LLM based AI is really good at interpreting the output of commands and returning the results in CLI friendly text formats like Markdown. Mods is a simple tool that makes it super easy to use AI on the command line and in your pipelines.
pure bash bible
The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in bash features. Using the snippets from this bible can help remove unneeded dependencies from scripts and in most cases make them faster.
A tool for glamorous shell scripts. Leverage the power of Bubbles and Lip Gloss in your scripts and aliases without writing any Go code! The above example is running from a single shell script (source).
5 Inbuilt Bash Variables That Every Developer Should Know
Developers typically use Bash to write shell scripts by invoking other programs as commands and adding inbuilt Bash language features. Also, every Unix or Unix-like system user uses Bash to communicate with the operating system via GUI terminal programs.
Intro to Bash scripting for scraping and automation – Trickster Dev
Bash is a Linux/UNIX program that reads users commands from the users, parses them and executes the appropriate programs through OS-specific APIs. Since it covers these APIs and provides some extra features on top of them this kind of program is called a shell.
5 Bash String Manipulation Methods That Help Every Developer
Bash became every Unix-like or Unix-based operating system’s default automation language. Every system administrator, DevOps engineer, and programmer typically uses Bash to write shell scripts with repetitive command sequences.