In another article, Spell checking commands on linux, look. I showed some examples how to use look command to check spelling. In this article, I'll show another text based spell check command family. Spell, Aspell, Ispell.

They all are from the same aspell package.

# rpm -ql aspell | head
/usr/bin/aspell
/usr/bin/ispell
/usr/bin/precat
/usr/bin/preunzip
/usr/bin/prezip
/usr/bin/prezip-bin
/usr/bin/run-with-aspell
/usr/bin/spell
/usr/bin/word-list-compress

Aspell

 

Spell

The spell command prints all words in the given files that are mispelled, according to its dictionary.

$spell mywords
linuux
comand

Actually, spell is a shell script using aspell

$cat /usr/bin/spell
#!/bin/sh

# aspell list mimicks the standard unix spell program, roughly.

cat "$@" | aspell list --mode=none | sort -u

Ispell