Google Shell Style Guide
Google (google.github.io/styleguide)
Google's production conventions for Bash: file layout, quoting, variable expansion, function naming, checking return values, avoiding eval, and recognising when a script has outgrown the shell. Answers the question the reference manual deliberately does not: of the many legal ways to write something, which one survives a code review. Includes the 100-line rule — the honest guidance that shell has a ceiling. Short enough to read once and reuse as a review checklist.
More resources on Bash & Shell Scripting
Maîtrisez le shell Bash : Des premières commandes aux scripts
Free 284-page university textbook written as the companion to the FUN MOOC from Université de La Réunion. It moves from first commands, permissions and text filters to redirections, the environment, conditions, loops and functions, so the reader can write their own Bash scripts.
Scripting. Das Praxisbuch für Administratoren und DevOps-Teams
A practitioner's book on automating admin and DevOps work with Bash/Zsh, PowerShell and Python: filters and pipes, regular expressions, JSON/XML, cron, SSH, Git, backups, REST APIs and cloud tasks, built from short working scripts.
Shell-Programmierung. Das umfassende Handbuch
An 868-page handbook covering Bourne, Korn, Bash and Zsh side by side: variables, quoting, control flow, functions, signals, the sed/awk/grep toolbox and portable scripting. Works as both a course and a long-term desk reference for shell scripts.
[改訂第4版]シェルスクリプト基本リファレンス ―#!/bin/shで、ここまでできる
A compact desk reference for Bourne shell scripting that marks feature differences across sh, bash, dash, zsh, FreeBSD, Solaris and BusyBox. Readers can check syntax, expansions and redirection, then write scripts that survive moving between systems, including Debian's dash.
シェル芸勉強会問題一覧
The archive of problems from 71 sessions of Japan's shell-gei (シェル芸) one-liner study group, many with separate question-only and answer pages. Learners attempt realistic text and data puzzles, then compare their pipelines with the organizer's solutions using join, awk and similar tools.
1日1問、半年以内に習得 シェル・ワンライナー160本ノック
A workbook of 160 graded shell one-liner problems with worked answers, covering text processing, data conversion, encodings, system inspection and development tasks. Readers finish able to solve everyday log, file and data jobs directly at the terminal. Deliberate-practice format that no shelf item offers. Companion repo github.com/shellgei/shellgei160 (MIT, updated 2026) supplies data, answers, alternate solutions and errata. I