$userdirs  –  Mapping of usernames to home directories

$userdirs maps usernames to the paths of their home directories.

Examples

Print available user names and directories
1
2
typeset userdirs
# only the first few are shown
Output:
1
userdirs=( [gdm]=/var/lib/gdm [systemd-coredump]=/ [myUser]=/home/myUser )
BashSupport Pro is a Zsh IDE with support for $userdirstry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal