17. Bash Shell - Completion Commands
Contents
Most of the time, we can use commands efficiently with the help of Linux’s automatic completion capability.
TAB Completion
Variable Tab
|
|
Command Tab
|
|
File Tab
|
|
Possible Completions
Can we use Alt+Shift+? keys to print out possible completion options.
Variable Alt+Shift+?
|
|
Command Alt+Shift+?
|
|
File Alt+Shift+?
|
|
Specific Completion
We can also get the corresponding completion through a specific combination of keys.
File Alt+Shift+/
|
|
Username Alt+Shift+~
|
|
Variable Alt+Shift+$
|
|
Hostname Alt+Shift+@
|
|
Command Alt+Shift+!
|
|
References 8.4.6 Letting Readline Type For You
Author Dong Chen
LastMod Mon Feb 18 2019