Spell check a file from the command line
For example, to spell check the file named
$ aspell check letter
the first misspelt word should be highlighted and an interactive menu should pop up where you can select suggested corrections, choose to ignore that word, add word to dictionary et cetera.
For more information, including how to add other dictionaries, run
$ man aspell to display the manual in your terminal.
Aspell is maintained by Kevin Atkinson and published under GNU Lesser General Public License.
personal computing gnu linux trisquel command-line interface (cli) text processing