Feed

Shell

Explore shell scripting, terminal automation, and command-line productivity. Our digest summarizes configuration management, script libraries, and shell tools from Hacker News and Lobsters.

Articles from the last 30 days

Start all of your commands with a comma
01Wednesday, February 4, 2026

Start all of your commands with a comma

In this classic UNIX computing tip, the author addresses the recurring issue of command name collisions between personal shell scripts and standard system binaries. As modern distributions like Debian and Ubuntu grew to include tens of thousands of commands, the likelihood of a user-created script sharing a name with a system utility increased significantly. To solve this, the author identifies a unique naming convention using the comma character as a prefix. Unlike other special characters that carry specific meanings in the shell environment, the comma is treated as a standard character. This technique ensures that personal scripts are non-colliding, easy to type without the shift key, and easily discoverable through shell tab-completion, providing an elegant and robust organizational method for a user's local bin directory that has stood the test of time.

Sources:Hacker News622 pts
Hacking an old Kindle to display bus arrival times
02Tuesday, February 24, 2026

Hacking an old Kindle to display bus arrival times

A guide on repurposing a 4th-generation Kindle into a live bus arrival dashboard. The process involves jailbreaking the device, installing KUAL and MRPI, and setting up SSH. A custom server generates high-resolution images of transit data via GraphQL, which are then rendered on the E-ink display using shell scripts and RTC wake cycles.

Sources:Hacker News290 pts
Vinyl Cache has left github
03Tuesday, February 17, 2026

Vinyl Cache has left github

Vinyl Cache has migrated from GitHub to a self-hosted Forgejo instance. Developers must register on the new platform for collaboration. The transition involves URL changes from varnishcache to vinyl-cache and renaming branches from master to main. Automation scripts are provided to help users update their git configurations and local repositories.

Sources:Lobsters64 pts
Brat, a parallel TAP testing harness for the POSIX shell
04Friday, February 20, 2026

Brat, a parallel TAP testing harness for the POSIX shell

Brat is a lightweight, brutalist parallel TAP testing harness for POSIX shell. Written in shell and awk with zero dependencies, it targets the POSIX.1-2024 standard. It features a simple syntax, parallel execution, and a small codebase designed for direct embedding into projects, serving as a portable successor to Bats.

Sources:Lobsters39 pts
Easily write Bash with a transpiler
05Sunday, February 1, 2026

Easily write Bash with a transpiler

Amber Lang is an experimental programming language designed to streamline the creation of shell scripts by transpiling directly into Bash. While Bash is the industry standard for automation, its often cryptic syntax and lack of robust error handling can lead to maintenance challenges in complex environments. Amber solves these problems by providing a modern, readable syntax inspired by contemporary languages, implementing basic typing, and offering structured control flow. Built using Rust, the ecosystem includes professional developer tools like an LSP and editor plugins. Remarkably, Amber maintains high compatibility by generating Bash code that runs on versions ranging from 3.2 to 5.3, allowing developers to leverage modern language features while ensuring their scripts remain portable across various Unix-like systems.

Sources:Lobsters36 pts