Using Completion in the bash Shell
One of the cool features of the bash shell is command argument completion, with which you can type just part of a command, press , and have bash complete the command for you (Code Listing 3.8).
Code Listing 3.8. In this example, we typed only the ls command followed by "cd pub" and pressed the key; bash completed the command for us.
To use completion in the bash shell: