Answers for "linux get available commands"

1

linux get available commands

compgen -c will list all the commands you could run.
compgen -a will list all the aliases you could run.
compgen -b will list all the built-ins you could run.
compgen -k will list all the keywords you could run.
compgen -A function will list all the functions you could run.
Posted by: Guest on December-24-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language