Shell [Scripting] Style Guide

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • pure-sh-bible

    📖 A collection of pure POSIX sh alternatives to external processes.

    `set --` before running a command can be used to remove all excess whitespace (making parsing dead easy).

    And last but not least always using printf instead of echo makes your scripts 1000x cooler :)


  • pure-bash-bible

    📖 A collection of pure bash alternatives to external processes.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

    Following a style guideline is really important in scripts. But, having your scripts checked by ShellCheck [1] is really mandatory. Can’t imagine to write any script without it.


NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts