When I am running various commands on the command line in Ubuntu and use tab-completion for files. The only files I am given are ones which have the appropriate extension for the command I am running. For example..
would list all the mp3's in the current directory and not any jpegs.
Most of the time this is quite useful. But if the file you want happens to have an incorrect extension, or the extension is valid but the tab completion doesn't think it is then it won't list the file or complete to it. So
- Is there a way to turn this feature off (just dumbly complete to any file regardless).
- How do you adjust the extensions that are valid for a particular command.