---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ~

> Expand to a directory.
> More information: <https://gnu.org/software/bash/manual/bash.html#Tilde-Expansion>.

- List the current user's home directory contents:

`ls ~`

- List the home directory contents of another user:

`ls ~{{username}}`

- List the contents of the previous directory you were in:

`ls ~-`
