Filename Completion

When you have the command "set filec" in your '.cshrc' file, the shell can complete the partially typed name of a file or user name. When you type the first few unique characters of a file name and then press [ESCAPE], the system will complete the filename for you. If it is not clear which file you want (the first few characters you typed are not unique to one filename), the terminal will beep at you.

If the partial filename is followed by [CTRL-D], the shell will list all the matching filenames. It will then prompt you again, retyping the command line as you have typed it so far.

Click here to go to the next section.

Or click here to go to the top of the chapter.