Wednesday, April 1, 2015

List all Linux command available - compgen

To list all available Linux command can be run:
$ compgen -c

To list all command start with "ls"
$ compgen -c ls

To list all command contain the letters "ls"
$ compgen -c | grep ls



No comments: