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 command syntax
Function: spell command can create a spell checker.
Grammar: spell
Linux spell command example
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 拼寫錯(cuò)誤 scurity #以下為有錯(cuò)誤的單詞 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 #檢查標(biāo)準(zhǔn)輸入的字符串的拼寫錯(cuò)誤 hell,this is a linx sustem! #拼寫錯(cuò)誤的字符串 linx #以下為有拼寫錯(cuò)誤的單詞 sustem