Spellcheck a file.

      aspell check [options] filename

       The mode to use when checking files.
       The available modes are none, url, email, sgml, tex, texinfo, nroff and any
       others available on your system. more..

       Don't create a backup file. Normally, if there are any corrections the Aspell utility
       will append .bak to the existing file name and then create a new file with corrections
       made during spell checking.

       The suggestion mode to use where mode is one of ultra, fast, normal, or bad-spellers.
       For more information on these modes see Notes on the Different Suggestion Modes.

   -l name
       The language the document is written in. The default depends on the current locale.

       Encoding the document is expected to be in. The default depends on the current locale.

   -d name
       The main dictionary to use.

       The keymapping to use. Either aspell for the default mapping or ispell to use the same
       mapping that the Ispell utility uses.


Check the file foo.txt:

$ aspell check foo.txt

Check the file foo.txt using the bad-spellers suggestion mode and the American English dictionary:

$ aspell check --sug-mode=bad-spellers -d en_US foo.txt

“My spelling is Wobbly. It's good spelling but it Wobbles, and the letters get in the wrong places” ~ A. A. Milne


Equivalent Windows command: Word

Copyright © 1999-2018
Some rights reserved