snippetbashTip
xdg-user-dir — Retrieve XDG user directory locations. See also: `xdg-user-dirs-update`. More information: <https://
Viewed 0 times
directoryxdg-user-dircommandxdgretrieveclilocationsuser
linux
Problem
How to use the
xdg-user-dir command: Retrieve XDG user directory locations. See also: xdg-user-dirs-update. More information: <https://manned.org/xdg-user-dir>.Solution
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-dirDisplay the location of a user directory:
xdg-user-dir {{DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS}}Code Snippets
Display the home directory for the current user
xdg-user-dirDisplay the location of a user directory
xdg-user-dir {{DESKTOP|DOWNLOAD|TEMPLATES|PUBLICSHARE|DOCUMENTS|MUSIC|PICTURES|VIDEOS}}Context
tldr-pages: linux/xdg-user-dir
Revisions (0)
No revisions yet.