Files
cheatsheet-tldr/tldr/linux/xdg-user-dir
2025-06-19 00:20:52 +00:00

19 lines
444 B
Plaintext

---
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}}`