O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Correcting Spelling

You can have tcsh attempt to do spelling correction on command names, filenames, and variables (but only using emacs-style key bindings). Spelling correction can take place only at two times: before and after you press RETURN.

Before You Press RETURN

In order for tcsh to correct a word or line before you press RETURN, you must give it an indication that you want to do so. The two functions for this purpose are spell-word and spell-line. Each of these functions is bound to a key sequence: META-s and META-$, respectively. To correct the spelling of the word to the left of the cursor, enter META-s.[2] Entering META-$ invokes the spell-line function, which attempts to correct all words on a command line. The following command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required