Tab completion
Interacting with the command line requires a lot of typing (you can keep clicking on the terminal window, but seriously, that clicking and tapping is going to get really annoying).
Here’s a little tip to save you (some) typing: You can use the Tab key on your keyboard to complete a command or filename when you are typing.
Change back to your home directory (~
), then start
changing into the hello
directory, but before you finish
typing hello
, press the Tab key on your
keyboard.
cd ~ # go back to my user directory
cd he#TAB
Your shell (the thing you’re typing commands into) will try to automatically complete the name of the file. Neat 📸!