Filename completion with the C shell

To turn on filename completion set the shell variable filec by adding the line

   set filec

to your C shell startup file.

To complete a file or directory name press the ESC key.

   ls -l on<ESC>line_help

If the filename is not completed enter more characters until the filename can be uniquely identified.

Directories are shown by the trailing / character.

List possible names

To list all possible names of files press and hold down the CTRL key and type a D.

   cat co<CTRL-D>
   commands.xdh  concepts.xdh  conventions/ conver_man/
   cat co

Directories are shown by the trailing / character.


[Home] [Search] [Index] This site maintained by unixhelp@ed.ac.uk