compgen
Verified for current stable LTS
Compgen Command: List Commands Starting With String
Use for list commands starting with string with Compgen. Exact CLI syntax to list commands starting with string using Compgen.
When to use this: Use for list commands starting with string with Compgen.
Command Syntax
compgen -V COMPREPLY -c <str> compgen -V COMPREPLY -c <str> Command Breakdown
-V- Command Option
- Tool-specific option used by this command invocation.
-c- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to list commands starting with string using Compgen.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Compgen Command: List All Aliases
compgen -a Compgen Command: List All Functions compgen -A function Compgen Command: List All Shell Builtin Commands Aliases Functions Executables compgen -c Compgen Command: List All Users On System compgen -u Compgen Command: List Commands Aliases Starting With String compgen -ac <ls>