Linux spell command
Translation results:
spell
英[spel] 美[spɛl]
vt. Spelling; causes, means; the letters that make up (a word) are...
vi.Rotation
n.Spell, spell; charm; period of time; shift
Third person singular: spells Present participle: spelling Past tense: spelt spelled Past participle: spelt spelled
Linux spell commandsyntax
Function: spell command can create a spell checker.
Grammar: spell
Linux spell commandexample
Check whether there are spelling errors in the file testfile. 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 #检查testfile 拼写错误 scurity #以下为有错误的单词 tp LANs Securty practicl applcations necesary
If the If the checked file does not contain spelling errors, then the command will not give any information after running.
Check the string read from standard input. For example, enter the following command on the command line:
spell
After pressing the Enter key, enter a string of characters, and then press the Ctrl D key combination to exit spell. The spelled words will be displayed on the screen. As shown below:
$ spell #检查标准输入的字符串的拼写错误 hell,this is a linx sustem! #拼写错误的字符串 linx #以下为有拼写错误的单词 sustem