The reason of the varied zsh/bash instructions builtin the shell itself in addition to of any Unix binaries residing anyplace in PATH
might be discovered within the respective man
web page (so man bash
provides you the guide web page for bash
, man ls
provides you the guide web page for ls
). The textual content supply of those guide pages is in /usr/share/man
(no less than for the usual set of instructions) however formatted extra for visible rendering than for automated parsing (so there isn’t any simple technique to derive command choices out of them). I additionally do not see an automatic technique to deal with instructions with conflicting choices (even rm
has these).
So that you may be higher off by limiting your GUI to a small set of generally used instructions, construct consumer steering for these and seek advice from the man
pages for others.