1 example for compgen
# compgen: {gen}erate possible {comp}letion matches
# usage: compgen [-abcdefgjksuv] [(optional) word]
# see also: man complete
#
#
# bro.. I don't have time for this
# all I want is just see a list of...
# all shell variables
compgen -v
# my aliases that begin with "l"
compgen -a l
# my functions
compgen -A function
# jobs
compgen -j
# shell built-ins
compgen -b
# shell reserved words
compgen -k
# directories that begin with .
compgen -d .
# every single command
compgen -c