Using command completion in the ksh shell

ksh is another shell that offers command completion. You type part of a command, press twice, and ksh completes the command for you (see Code Listing 3.10). Using command completion in ksh isn't as easy as it is in bash, but the results are the same.

To use command completion in the ksh shell:

1.
set -o emacs
To begin, you must enable command completion by entering set -o emacs. This command enables command completion and sets it to use emacs commands. (emacs is an editor, but you do not need to use or be familiar with it to recycle ksh commands.)
2.
ls -l
Use ls -l to list the files in your current ...

Get Unix: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.