Do I have to type the full name of a directory to navigate to it?


#1

Question

Do I have to type the full name of a directory to change into it every time? It seems like a lot of repeated, unnecessary typing.

Answer

It is unnecessary! Luckily, you can save a lot of time and keystrokes by typing enough of the directory name for it to know which to select and then just press tab.

For example, say you type ls and see that you have three directories available to cd into:
myFolder, yourFolder, myOtherFolder

If you type in myF and then press tab, you’ll see that it autocompletes myFolder! That comes in handy, especially with long file names.