Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 4
    How about cd Test and then Tab? It may be about case sensitivity. Or do you explicitly want your tab completions to be case-insensitive? What is the shell? Commented Jan 5, 2022 at 10:07
  • 1
    Tab completion is a feature of your shell (default is bash on most Linuxes, zsh on up-to-date Macs). But unix-style file and directory names are case sensitive: in a single directory, both test and Test could exist at the same time, and be two different files or directories. Usually, the shell will not change the case of typed characters on tab-completion, but your shell might have an option to enable it. Commented Jan 5, 2022 at 10:08
  • Hi! And welcome here, Dugu02! As the others have pointed out, this is a functionality of the shell. We don't know which shell you are using! could you tell us what echo $SHELL says? Commented Jan 5, 2022 at 10:37
  • I use /bin/bash on Ubuntu 20.04 Commented Jan 5, 2022 at 10:45
  • 1
    @gidds Zsh can be configured to do case-insensitive completion. Commented Jan 5, 2022 at 12:48