I'm wondering how pressing tab twice is resulting in listening all the files and directories in Linux. I'm specifically interested in where this function is defined.


This function is called Command Line Completion and is well documented on the Internet.

How it is defined and configured is dependent on which shell you are using.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.