r/ProgrammerTIL • • Sep 19 '17

Other TIL Unix-based systems provide a dictionary of 235k+ newline-separated words in /usr/share/dict/words

This list can be copied between projects and used for everything from Scrabble board-playing AIs to spellcheckers to regex golfing playgrounds!

119 Upvotes

26 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Sep 20 '17

"words" is not a directory. It's a file.

EDIT: It's a link to a plain text file called "words" in /etc/dictionaries-common/