---
type: note
tags: [public, linux, commands]
created: 2025-10-27T09:17:57.483Z
---# ls

**URL:** [#](#)

| Option | Description |
| -------------- | ------------------------------------------------------- |
| `-1` | One file per line (simple list) |
| `-C` | Multi-column output (default when output is a terminal) |
| `-x` | List entries in rows (horizontal sort) |
| `-m` | Comma-separated list |
| `-F` | Append `/` to dirs, `*` to executables, etc. |
| `-p` | Append `/` to directories only |
| `-h` | Human-readable sizes (used with `-l`) |
| `-R` | Recursive listing |
| `-S` | Sort by file size |
| `-t` | Sort by modification time, newest first |
| `-u` | Show/access time instead of modified time |
| `-c` | Show/change time instead of modified time |
| `-d` | List directories themselves, not contents |
| `-A` | Show hidden files, excluding `.` and `..` |
| `--color=auto` | Colorize output based on file type |


---
**Keywords:** public, linux, commands
