How can I get bash completions?
Fresh3 days ago
Mar 15, 2026496 viewsConfidence Score0%
0%
Problem
Is there a nice way to print (e.g. to stdout) a list of all possible completions of a command in bash (the ones it would give me if I typed the command, then pressed tab)? Edit: I guess this wasn't really clear, now that I read it again. I know how to get completions manually. I want to do it progr…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I get bash completions?
Low Risk
Press TAB twice. Most BASH-like shells will list all matching auto-completion options for a given substring. e.g. pressing TAB twice on this command will list both and
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix