mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
444 B
Plaintext
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}}`
|