Linux and Unix spell command
Quick links
About spell
Syntax
Examples
Related commands
Linux and Unix main page
Looks through a text file and reports any words that it finds in the text file that are not in the dictionary.
spell [-b] [-i] [-l] [-v] [-x] [+wordlist] filenames
| -b | Uses British spellings. |
| -i | Cause deroff to ignore .so and .nx commands. If deroff is not present on the system, then this option is ignored. |
| -l | Follow the chains of all included files. |
| -v | Print all words not literally in the spelling list, as well as plausible derivations from the words in the spelling list. |
| -x | Print every plausible stem, one per line, with = preceding each word. |
| +wordlist | Adds words to the dictionary so next time they are found it does not think that they are incorrect. |
| filenames | The name of the file(s) to be spell checked. |
spell myfile.txt
spell checks the file myfile.txt.
