# Quotes: Double, Single and None

Without quotes, the shell splits a variable's value at its spaces and turns a \* into file names, the number-one bash bug; "$name" in double quotes keeps the value exactly as it is, and single quotes keep everything as typed.

![Cheat sheet for the lesson Quotes: Double, Single and None: Without quotes, the shell splits a variable's value at its spaces and turns a \* into file names, the number-one bash bug; "$name" in double quotes keeps the value exactly as it is, and single quotes keep everything as typed.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/b522528e1e8e43e7bd785a6579ae98b1.webp)

- Category: Bash
- Level: Journeyman
- Tags: glob, linux, quoting, unix, wildcard, word-splitting
- Updated: November 10, 2026

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