I was pleasantly surprise to learn about a utility which lets you spell check text files or any string passed as standard input, directly from the command line.
Example 1
[email protected]:~$ echo "What the fuc or what the fuck" | spell
fuc
Example 2
[email protected]:~$ cat test.txt
Fuck thi shit.
[email protected]:~$ spell test.txt
thi