User friendly Unix ksh prompt to type directories/files

Hello,

I wanted to setup user friendly ksh command prompt, by typing first character of files or directories and then tab bring up whole word. No need to type whole file/directory/command names.

Example:

cat a file like university
just typing un and then tab bring up whole university wod.

Any help is greatly appreciated.

Thanks.

Abdur Rouf

Assuming you have a file called university at your current directory location, you could type at the prompt:

> cat un

then hit the [Esc] key twice should fill in the rest of the word for the filename

This works for many unix commands.

Is it that you are trying to avoid typing the 'cat' command first?

If <ESC><ESC> doesnt give you the full file name, it means there are at least 2 files starting with the same pattern.

To see which are those files type:
<ESC>=

Yes it's woking and that is what I'm looking for :). Thank you very much for your reply.
Before I use to work with bash where I used tab instead of Esc.

Thanks again.

Abdur Rouf