Is there a place Apple documents these things? Do people find these things with something like “ls /usr/bin” and wondering “what is this?” or does Apple have an administrator’s guide somewhere? Or has someone written a good book with this stuff?
If you want more like this, I also have another page full of lesser well-known macOS tips and tricks: https://saurabhs.org/macos-tips
TIL you can tap and drag with 2 fingers to multi-select list items in mail and notes, etc
Bless you for finding and collating
alias list-functions='functions -x4'
alias list-function-names='functions +'
alias list-aliases='alias'
alias list-alias-names='alias +'
alias list-commands='print -raC2 ${(kv)commands} | sort'
alias list-command-names='print -roC1 ${(k)commands}'
alias list-builtins='print -raC2 ${(kv)builtins} | sort'
alias list-builtin-names='print -roC1 ${(k)builtins}'
alias list-everything='whence -cm "[^_]*"'
alias list-everything-names='whence -wm "[^_]*"'
Edit: another commenter posted what looks to be comprehensive docs/lists here: https://news.ycombinator.com/item?id=36492487