commands

Lists all the executables in your PATH

Need a list of all the executables in your $PATH? I did. commands will return a sorted list of executables found in the directories in your $PATH. This is going to be long. On my system it’s ~3,500 lines.

Note: generally you’re better off just calling which <command> or command -v <command> to see if a specific command is avaliable.

Usage

USAGE: commands
       Lists all the executables in your PATH

Metadata:

Tags:

  • search