If you see the Terminal a lot to run commands, you will really like speed things up to save time and be more efficient, one of the features that you can use for this is called autocomplete,
✌️Tab is the keyboard key that you can make use of for autocomplete and autosuggestion feature
Autocomplete example:
As you can see in the above example when I type cd to change directory and type bi followed by tab key based on the current directory there is only one dir that starts with bi so it's autocompleted to bin
Also, when in the example, I typed cd m followed by pressing the tab key, nothing happened, when I pressed it twice, you get autosuggestions that all files and directories start with the letter m, as I wanted to select the media directory, I simply pressed key e followed by tab!
# cd bin
# cd ..
# cd m
media/ mnt/ mydir/
# cd media/
#
- How to Assign Bash Command to Variable
- How to Kill a port using bash terminal command?
- Bash For Loop Example
- bash: netstat: command not found
- Bash getopts Command Example
- How to fix bash ping command not found error
- [Fix] bash: script.sh: /bin/bash^M: bad interpreter: No such file or directory
- [fix] bash: ssh: command not found
- Fix bash: script.sh: Permission denied Error
- bash: ls command to see list files in current directory all subdirectories
- How to see Created Accessed Modified and Changed dates of a file using bash terminal command
- How to use Autocomplete and Autosuggestion in Shell Commands
- Bash Hello World! Script Tutorial
- Install Bash Completion on macOS
- bash get year 2021 calendar
- How to create new user account in Windows bash
- Bash command to wait for seconds
- Know Bash shell version command
- How to start or open a new bourne-again shell (bash) session on Windows using Command Line CMD
- How to check your IP using bash for Windows?
- Bash Script to prefix files with sequential numbers in a directory
- How to Compare Strings in Bash
- Command to Sort File In Reverse Order [Unix/Linux/macOS]
- How to know the current shell you are logged in?
- List all Username and User ID using Bash Command
- Guide: Install Vim on Mac - vi
- Java XML-RPC java.net.BindException: Address already in use - Java
- Remove Applications from Startup Mac OS X - Mac-OS-X
- Alternatives for Notepad++ on Mac in 2021 - NotepadPlusPlus
- Read Text file from SD Card : Android Programming - Android
- PowerShell git: The term git is not recognized as the name of a cmdlet - Microsoft
- What version of windows do I have? - Microsoft
- Create and write file in single Linux/macOS command - Linux