# Wildcards: \*, ? and \[ \]

A wildcard pattern such as \*.jpg stands for every name that fits it, and the shell swaps in those names before the command runs, so echo shows you the list first and one mv moves every photo at once.

![Cheat sheet for the lesson Wildcards: \*, ? and \[ \]: A wildcard pattern such as \*.jpg stands for every name that fits it, and the shell swaps in those names before the command runs, so echo shows you the list first and one mv moves every photo at once.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/6aaf2a2c6edc4017a7c82799323a14f5.webp)

- Category: Bash
- Level: Apprentice
- Tags: echo, glob, linux, unix, wildcard
- Updated: November 10, 2026

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