Topic

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.

What this topic tracks

  • Developer tool releases and ecosystem updates
  • Workflow automation and productivity practices
  • Practical setup, debugging, and integration lessons

Shell · 51 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Transfer files over an ethernet patch cable

maurycyz.com · 29 Aug

Linux · Shell · Terminal

Two computers can transfer large files directly over an Ethernet patch cable by assigning link-local IPv6 addresses and using socat over TCP6.

Gigabit Ethernet can reach about 900 Mbit/s, outperforming cloud storage, WiFi, and removable media. Point-to-point Ethernet is inexpensive, reliable, resistant to interference, and can also use raw frames for microcontroller data transfers.

Windows GOG DOS Games on M-Series Macs

f055.net · 1 Jun

macOS · Shell · Terminal

Running Windows-only GOG games on Apple Silicon Macs is possible by manually adapting DOSBox.

By extracting installed game files from a Windows PC and creating a custom DOSBox configuration and shell script, users can bypass x64 virtualization and natively run classic DOS titles on M-series hardware using DOSBox or DOSBox-X.

Show HN: NSL – WSL for Linux

frostyard.github.io · 29 Sept

CLI · Linux · Shell

NSL is a pre-release WSL-like CLI for Linux that runs signed Debian, Ubuntu, Fedora, CentOS Stream, Arch, and openSUSE images in VMs.

It provides host file and account integration, port forwarding, Wayland windows via Waypipe, and isolated machines for untrusted software. Users must install host prerequisites; v0.4.0 is the first release of this design.

The tilde in your PATH may not be your HOME

disconnect3d.pl · 11 Oct

CLI · Shell

Quoted `~` in a shell `PATH` entry is not expanded to `HOME`; `export PATH="$PATH:~/.local/bin/"` can therefore add the literal relative path `.

/~/.local/bin/`. Bash and Zsh expand an unquoted tilde in variable assignments, but that behavior is fragile. Use `$HOME/.local/bin` instead, and inspect `PATH` with `echo "$PATH" | grep '~'` or by splitting entries. The `nono` sandbox tool warns when such writable entries exist.

Reviving a four year old reMarkable 2

oskrim.github.io · 9 Aug

Linux · Shell · Terminal

This guide details how to revive a long-unused reMarkable 2 tablet, addressing common issues like system clock synchronization failures preventing cloud updates.

It covers fixing software update loops via systemctl, managing SSH access across versions, and enabling the onboard web interface for local file transfers instead of relying on the reMarkable cloud.

Hacker Public Radio

hackerpublicradio.org · 30 Jul

Python · Shell · Open Source

Hacker Public Radio is a listener-produced podcast delivering daily episodes focused on technology, open-source topics, and hobbies.

Managed by a welcoming community, it provides an open platform for hackers and makers to share tutorials, engage in technical discussions, and exchange ideas through collaborative, community-driven content.

Improved Git Diffs with Delta, Fzf and a Little Shell Scripting

nickjanetakis.com · 24 Mar

Git · Shell · TUI

Enhance your Git workflow using Delta for high-quality syntax-highlighted diffs.

By integrating Delta with fzf and custom shell scripting, you can create a powerful TUI for viewing git diff, git show, and git blame. This setup, managed via dotfiles, significantly improves code review efficiency and provides a superior visual experience.

Sort branches by last commit date

ryangreenberg.com · 25 Aug

Git · Shell · Terminal

Modern Git can sort branches by their latest commit without custom scripts.

Set `branch.sort` to `committerdate` or use `git branch --sort committerdate`. Git also supports sorting by fields such as `authordate`, `creatordate`, `taggerdate`, message size, `refname`, and `upstream`, using keys from `git-for-each-ref`.

FIM – Linux framebuffer image viewer

nongnu.org · 17 Apr

CLI · Linux · Shell

FIM (Fbi IMproved) is an advanced command-line image viewer for GNU/Linux, inspired by VIM.

It supports multiple graphical devices, EXIF metadata display, and powerful scripting for navigation and batch processing. The software is released under the GPLv2 license and is highly customizable via configuration files.

How to build a `Git diff` driver

jvt.me · 11 Apr

Git · Programming Languages · Shell

This guide explains how to create external git diff drivers to compare files using custom tools.

It details the seven arguments passed by git diff to external scripts, highlighting how to handle file creation, deletion, and updates, and demonstrates a practical implementation for comparing OpenAPI specifications using oasdiff.

Migrating from GNU Stow to Chezmoi

rednafi.com · 18 Jun

Git · macOS · Shell

The author transitioned from GNU stow to chezmoi to better manage dotfiles across multiple macOS devices.

Unlike the symlink-based approach of stow, chezmoi uses a source-of-truth repository and provides features for templating, script execution, and seamless cross-machine syncing. This setup also integrates Homebrew and agent skills, ensuring consistent environments on all machines.

Headlong: A Microharness for Persistent Agents

laude.org · 25 Aug

Large Language Models · Shell · AI Agents

Headlong is an open-source Bash microharness for persistent AI agents.

It runs a self-guided thought loop, treating human messages as observations rather than session triggers. Its minimal architecture uses LLM calls, executable skills, trajectory DAGs, and decaying-resolution compaction. Shared agent Audel demonstrates autonomous debugging, but requires sandboxing, credential isolation, and spend controls.

Bashblog – a single bash script to create blogs

github.com · 28 Jun

CLI · Linux · Shell

Bashblog is a lightweight bash script for creating static blogs.

It requires no dependencies, functions on GNU/Linux, BSD, and OSX, and uses simple CLI commands to generate HTML posts. It supports Markdown, RSS feeds, tagging, and mobile-friendly styling, making it an ideal choice for users seeking a minimal, portable, and secure blogging solution.

Stinkpot: SQLite-backed shell history

tangled.org · 24 Jul

Shell · SQLite · TUI

stinkpot is a lightweight, sqlite-backed shell history searcher for bash, serving as a minimalist alternative to atuin.

Developed in Go, it features a simple TUI for navigation, session-agnostic history management, and straightforward installation for bash users, including home-manager support. It prioritizes performance with optimized database indexing for faster command lookups.

Simulate cassette tape audio profiles using FFmpeg

github.com · 22 Jul

Shell · Open Source

This project uses ffmpeg to simulate authentic cassette tape audio profiles.

It models specific tape characteristics like hiss, wow, flutter, and frequency responses for various models including BASF LH Extra, Maxell UD, and Sony CHF. Users can process local audio files or record streams using provided bash scripts to emulate an analog vintage sound.

Vinyl Cache has left github

vinyl-cache.org · 17 Feb

Git · GitHub · Shell

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.

Switching to GNU Guix: A Beginner's Perspective

whhone.com · 13 Sept

Git · Linux · Shell

After a decade with Arch Linux, the author migrated a home server to GNU Guix for declarative, reproducible, Git-managed system configuration and atomic rollbacks.

GNU Guile Scheme, GNU Shepherd, cohesive documentation, libre software, and sandboxed containers were compelling. Trade-offs include slower pulls, source builds, and a smaller package catalog, mitigated through substitutes, custom packages, and ephemeral environments.

Where it came fromHacker NewsLobstersCreate a Snapbyte.dev digest and choose Shell as one of your topics.Build your digest