commands.sh

xdg-user-dir

linux

Retrieve XDG user directory locations. See also: `xdg-user-dirs-update`.

More info →

Examples (2)

Display the home directory for the current user

Display the location of a user directory

xdg-user-dir DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS
made by @shridhargupta | data from tldr-pages