Personal tools
You are here: Home Members pacneil's Home Beginning Linux Tab Completion
Navigation
Log in


Forgot your password?
New user?
 
Document Actions

Tab Completion

by Neil Schneider last modified 2005-06-08 12:47

Tab Completion

next up previous contents index
Next: Filename Expansion Up: Shortcuts Previous: Shortcuts

Tab Completion

One of the nicest things about Linux is the tab completion. Tab completion allows you to type in the first few letters of a command or directory and then <Tab> to complete. This can save quite a few keystrokes when entering deep directories with long names. All that is necessary are the first unique characters of the filename followed by a <Tab> and the sytem will complete. If you haven't entered enough characters, hitting <Tab><Tab> will provide all possible matches. Commands can also be completed with <Tab>. If you hit <Tab><Tab> with no arguments you will get something like this:

# <Tab><Tab>

There are 1661 possibilities.

Do you really wish to see them all? (y or n)
However if you enter just the first couple of letters like this:

# log <Tab><Tab>

logger logname logresolve logtail

login logout logrotate
Then you get all the possible commands with the first three letters log.




2005-05-10

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: