Warning: main(../layout/header.php) [function.main]: failed to open stream: No such file or directory in /srv/www/linuxgeek.net/vhosts/www/htdocs/beginners/node39.phtml on line 3

Warning: main() [function.include]: Failed opening '../layout/header.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/linuxgeek.net/vhosts/www/htdocs/beginners/node39.phtml on line 3
next up previous contents
Next: 1.5.2 Filename Expansion Up: 1.5 Shortcuts Previous: 1.5 Shortcuts   Contents

1.5.1 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.


next up previous contents
Next: 1.5.2 Filename Expansion Up: 1.5 Shortcuts Previous: 1.5 Shortcuts   Contents
Warning: main(../layout/footer.php) [function.main]: failed to open stream: No such file or directory in /srv/www/linuxgeek.net/vhosts/www/htdocs/beginners/node39.phtml on line 100

Warning: main() [function.include]: Failed opening '../layout/footer.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/linuxgeek.net/vhosts/www/htdocs/beginners/node39.phtml on line 100