# ls

*noun*

say it: **“EL-ESS”** **/ˌɛl ˈɛs/** or **“ELL ESS”** **/ɛl ɛs/**

A command that lists the files and folders in a folder, with options to show hidden names and each one's details.

## What does `ls` do?

`ls` lists the files and folders in a directory. `-l` shows details like size and date; `-a` includes hidden files.

```bash
ls
ls -la ~/projects
```

## In a sentence

- “I typed **ls** to check that Program.cs was in the folder.”
- “**ls** -l showed that the video was 700 megabytes.”
- “Sam ran **ls** in the Downloads folder to see whether the phone bill was there.”

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