English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux Reference Manual

Linux Command大全

Linux spell command

The Linux spell command can create a spelling check program.

spell can read strings from the standard input device and display misspelled words at the end.

Check the string read from standard input. For example, enter the following command in the command line:

Syntax

Online Examples

Check for spelling errors in the file testfile, and enter the following command at the command line prompt:

spell testfile

If there are spelling errors in the file, the following information will be output:  
$ spell testfile # Check spelling errors in testfile  
scurity # The following is a misspelled word  
tp  
LANs  
Securty  
practicl  
applications

necessary

If there are no spelling errors in the checked file, the command will not output any information after running.

Check the string read from standard input. For example, enter the following command in the command line:

spell+Press Enter key, then input a string and press Ctrl

$ spell # Check spelling errors in the standard input string  
hell,this is a linx sustem! # A misspelled string  
linx # The following is a misspelled word  
sustem

Linux Command大全