# rm

*noun*

say it: **“AR-EM”** **/ˌɑːr ˈɛm/**

The terminal command that deletes files, or folders with -r, permanently.

## What does `rm` do?

`rm` deletes files; `rm -r` deletes folders. There is no recycle bin, so double-check before pressing Enter.

```bash
rm old-notes.txt
rm -r build/
```

## In a sentence

- “I deleted the old test file with **rm**; it doesn't go to the Recycle Bin.”

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/rm
