# Shell Script

say it: **“SHEL skript”** **/ˈʃɛl ˌskrɪpt/**

A text file of commands that automates a task.

## What is **Shell Script**?

A **shell script** is a text file of commands that runs top to bottom, to automate a task you would otherwise type by hand.

```bash
#!/bin/bash
echo "Backing up photos..."
cp -r ~/photos /mnt/backup/
echo "Done!"
```

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

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/shell-script
