2014. 5. 22. 07:03

List All Linux Commands

Using compgen can list all available commands in Linux.

 

 

compgen -c 

 

Using grep command together, you can extract some command to find.

 

compgen -c | grep mysql 

 

 

To list all the bash shell aliases available,

 

compgen -a 

 

Reference: http://www.cyberciti.biz/open-source/command-line-hacks/compgen-linux-command/