Author Topic: Autocomplete in Terminal  (Read 3894 times)


  • Guest
Autocomplete in Terminal
« on: March 30, 2009, 05:35:14 PM »
Not sure if you are aware of this  but in the terminal, pressing tab autocompletes a file and sub folder that is in the current folder.

Take for instance you want to goto a sub-folder called music. Rather than typing cd music, you type cd m then press tab key and it autocompletes it with cd music.

If there is more than one folder or file starting with m, it displays all folders and files starting with m. You can then type in the next letter until it narrows it down until it autocompletes.

This works as well with files so you can type for instance xap-install c then tab to install a patch that starts with c. Obviously  as there is two versions, you will have to type in patch at end then press Enter.