Grok was coined by Robert A. Heinlein in the science-fiction novel Stranger in a Strange Land (1961).
Source for word: Dictionary.com