---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# xdg-user-dir

> Retrieve XDG user directory locations.
> See also: `xdg-user-dirs-update`.
> More information: <https://manned.org/xdg-user-dir>.

- Display the home directory for the current user:

`xdg-user-dir`

- Display the location of a user directory:

`xdg-user-dir {{DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS}}`
