FG

How to expand * on Bash command line

Fresh3 days ago
Mar 15, 202613781 views
Confidence Score0%
0%

Problem

I understand that if you type it is actually expanded to when the current directly has files , and . I was wondering if there is a way to expand this before I hit enter. Similar to how Ctrl+X works, or tab complete works. So to make myself clear in a similar way to: I thought I'd seen this before b…

Error Output

$ ls *
<press magic key>
$ ls a b c

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to expand * on Bash command line

Low Risk

In bash, the readline capability is called and is bound to CtrlX* by default.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment