# mkdir

*noun*

say it: **“MAKE-deer”** **/ˈmeɪkdɪər/**

The terminal command that makes a new folder.

## What does `mkdir` do?

`mkdir` makes a new directory. `-p` makes parent folders too, if needed.

```bash
mkdir photos
mkdir -p projects/recipe-box/src
```

## In a sentence

- “I typed **mkdir** projects to make a folder for all my code.”

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

Updated: November 9, 2026

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