Here is the video version, if you prefer it:
Let’s talk about how you can use auto-completion in the shell. When typing a filename, press
Tab on your keyboard.
Let’s say I have a file named
longFileName.txt. I can just type in long, press Tab and the filename will be filled for me automatically. This does not hold if I have two or more files starting with long. There must be only 1 file with that prefix in its filename (any ambiguity must be cleared) for auto-completion to work.
Hope you learned something useful!
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.