$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 是一款支持 userdirs** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2025 Joachim Ansorg
声明
隐私政策
许可条款