# Scripting Language

> A language for short programs, called scripts, that do a job for you.

**Field:** Software Development  
**Category:** Languages

## Think of it like

Think of it like a note for a helper. Water the plants, feed the cat, lock the door.

## Definition

A scripting language is used to write scripts: short programs that do a task. A script might rename a thousand files, copy a backup or fill in a report. Python, Bash, JavaScript and PowerShell are often used this way. Scripts are usually interpreted, so they are quick to write and change. The line between a script and a full program is loose.

## Example

Jack writes a 10-line Python script that renames 400 holiday photos by date. It saves him an afternoon.

## Example code

```bash
#!/bin/bash
for f in *.jpg; do
  cp "$f" backup/
done
```

Four lines that copy each photo to a safe place.

## Why it matters

Scripts turn boring, repeated jobs into one command. They are often the first useful code a person writes.

## Common mistake

Letting a script grow into a large app with no tests. Past a few hundred lines, treat it like real software.

## Three principles

- **Automates a task.** One script replaces many manual steps.
- **Short and quick.** Written in minutes, not weeks.
- **Usually interpreted.** Run it straight away, no build.

## Related terms

- [Interpreted Language](https://learn.benibix.com/term/development/interpreted-language)
- [Python](https://learn.benibix.com/term/development/python)
- [Programming Language](https://learn.benibix.com/term/development/programming-language)
- [JavaScript](https://learn.benibix.com/term/development/javascript)
- [Shell Script](https://learn.benibix.com/term/development/shell-script)
- [Lua](https://learn.benibix.com/term/development/lua)
- [Script (Programming)](https://learn.benibix.com/term/development/script)

## Taught in

- [Compilers and Interpreters](https://learn.benibix.com/learn/development-languages/compilers-and-interpreters): Programming Languages, 2/12

---

Source: https://learn.benibix.com/term/development/scripting-language
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
