# ShellCheck: A Second Pair of Eyes

ShellCheck reads a script without running it and points out likely mistakes, each with its line, a code such as SC2086 and a plain message; the codes worth knowing are an unquoted variable, a cd that might fail and a loop over ls, and a disable comment silences one warning on purpose.

![Cheat sheet for the lesson ShellCheck: A Second Pair of Eyes: ShellCheck reads a script without running it and points out likely mistakes, each with its line, a code such as SC2086 and a plain message; the codes worth knowing are an unquoted variable, a cd that might fail and a loop over ls, and a…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/3f2e3bdbda5548fab78c73b6e20345e9.webp)

- Category: Bash
- Level: Journeyman
- Tags: glob, Linter, linux, quoting, shellcheck, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-shellcheck-cheat-sheet
