The Geek Stuff posted 10 useful Linux Bash completion complete command examples
This is nothing new, probably you already know about this. This functionality is called bash completion. The basic file and directory name completion are available by default in bash command line.10 Useful Linux Bash Completion Complete Command Examples
But, we can turbo-charge this bash completion, and take it to the next level using complete command.
This tutorial explains how we can apply the auto-completion to options and to command’s arguments using programmable completion.