Tab completion, part I
On most Unix systems, and in BeOS, you can let the OS finish typing long path and filenames for you by hitting the Tab key after you’ve typed a partial pathname. For instance, let’s say you want to gunzip a file called
and you’re already in the directory where that file lives. Try typing
and then hit the Tab key. You’ll see your command line automatically fill in with the complete filename, and all you have to do is hit Return. But what if there’s another file that starts with BeB? No problem — the command line is smart — it will complete out to the point where it’s not sure which file you mean. Then all you have to do is type the next unique letter or letters and hit Tab again.
Posted in Terminal