Finding words with look


If you have ever had a moment when you couldn’t recall a word from memory, but knew something about the word, you probably wandered to one of the numerous online dictionaries to find the name. If you happen to have a Solaris box handy, you can avoid the web and use the look utility to find the word. Look is run with a string that you want to match to a word, and it uses the word list in /usr/share/lib/dict/words during the comparison. The following examples show this nifty utility in action:

$ look liti
litigant litigate litigious

$ look oth
Othello other otherwise otherworld otherworldly

This article was posted by Matty on 2006-05-28 23:56:00 -0400 -0400