# ShellCheck

*noun*

say it: **“SHEL-chek”** **/ˈʃɛlˌtʃɛk/**

A free tool that reads shell scripts and warns about lines that are likely to go wrong, before you run them.

## What is **ShellCheck**?

**ShellCheck** is a free linter for bash scripts: it reads a script without running it and warns about lines that are likely mistakes, such as a variable without quotes. Each warning has a code, like SC2086, that its website explains. Its VS Code extension underlines the line as you type.

```bash
cat $todo      # SC2086: Double quote to prevent globbing and word splitting
cat "$todo"    # fixed
```

## In a sentence

- “Before sharing her script, Maya ran it past **ShellCheck** to catch any mistakes.”
- “**ShellCheck** underlined $todo and suggested putting it in double quotes.”

Level: Apprentice · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=2)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/shellcheck
