Advertisement
geek (n.)

"sideshow freak," by 1911, U.S. carnival and circus slang, perhaps a variant of geck, geke "a fool, dupe, simpleton" (1510s), apparently from Dutch gek or Low German geck, from an imitative verb found in North Sea Germanic and Scandinavian meaning "to croak, cackle," and also "to mock, cheat" (Dutch gekken, German gecken, Danish gjække, Swedish gäcka). Compare gowk.

Green's Dictionary of Slang credits "one Wagner, of Charleston, West Virginia, who had a celebrated touring snake-eating act" as the popularizer of the name for the particular style of "wild man" act in which a performer (often suggested to be something sub-human) would eat or bite apart live snakes, bugs, chickens, etc.

At the highest point in the street was an empty store room in front of which, perched upon a large box, was a showman who was frantically calling in husky voice and waving hands, “He eats ‘em alive, he eats ‘em alive! O, yes, gentlemen, come right in and see the ‘Wild man from Samar’ — from the deep jungles of the far off Philippines! He eats rats, bugs and snakes alive! He eats ‘em alive, he eats ‘em alive! Only ten cents to see the wild man — walk right in, etc.” […] 
Inside the empty store room were a dozen people gazing at the wild man who was confined in a cage in the rear end under a dim light, while a second showman stood just in front of this cage expatiating upon the wonderful nature and shocking habits of the untamed creature before them. The wild man had rather long red hair and beard, and was clad in an old coffee sack, and at frequent intervals would seize a whisp of straw from the pile on which he was seated and go through the motion of eating it, or would search in the straw as if for live food such as had been described as being his favorite diet by his master at the door. But finding none, he would fly into a fury and seize the cage as if to tear his way out. Then the keeper would cry out to the crowd to stand back — “Back, back gentlemen! Iloilo is dangerous when angry — don’t you see the crowd angers him? He’s hungry — we have not given him his supper yet — the supply of snakes gave out this afternoon — he's furious!” and striking the cage with a large iron poker he shouted, “Down Ilo, down!” 
“Iloilo” having been successfully calmed, the exhibition went on for a short while till the last of the sightseers departed and the officers were left alone with the showman at the door. Stepping down from his box he exclaimed to the keeper inside, “Well, Bill, I guess the show's over in this town,” and invited them inside. 
There, as soon as they had agreed to close the exhibition, the wild man caught the cage (an old hickory crockery crate painted black) and pitched it off over his head, and asked for a bottle of beer, several of which he consumed before he clothed himself and disappeared.
[Chaplain C.Q. Wright, “The Wild Man from the Philippines” The Sailor’s Magazine, July 1913.]

By 1949 it was also defined as "any disliked person." In the 1970s the term gained currency as an insult for a kind of worthless, wimpy but pretentiously macho person, popularized by the catchphrase of pro wrestler "Classy" Freddie Blassie (1918-2003) who described all his enemies as "pencil neck geeks." Blassie had picked up the word when he began wrestling as a circus performer in the 1930s. After his retirement he released a novelty record titled Pencil Neck Geek, which became a hit on the Dr. Demento Show.

You see, if you take a pencil that won't hold lead,
Looks like a pipe cleaner attached to a head,
Add a buggy whip body with a brain that leaks,
You got yourself a grit eatin', pencil neck geek.
[Song "Pencil Neck Geek." By Johnny Legend (Martin Margulies) and Pete Cicero, 1977.]

By 1980, geek was used in teenager slang in reference to a "weird person" or a "studious person" and perhaps influenced by freak in this sense. The original freak show origins of the word were still widely known and the concept was colored by these associations, such as a geek being unclean, uncouth, disfigured, violent, etc. Throughout the 1980s the term was always used insultingly, even by studious people and tech-lovers; often interchangeable with wuss, dork, dipshit, etc.

I could not believe Bob Mack’s review of the new Danzig LP, How the Gods Kill [Spins, August ’92]. It’s not right for you to say that Glenn Danzig is a “comic book-collecting geek born in Jersey.” He is much more than that. He does what he believes in and believes in what he does. I collect comic books, and I am not a geek. Bob Mack, I hope you die at the hands of Lucifer.
Chris Allen
Fort Worth, Texas
[Letter to the editor from SPIN Magazine, Nov. 1992.]

In the popular 1984 film Sixteen Candles, Anthony Michael Hall's girl-crazy, tech-loving, socially despised character was only credited with the name "The Geek" and the term's popularity was boosted. The film Revenge of the Nerds was released the same summer, featuring similar character types, which circumstance likely contributed to geek and nerd becoming more or less synonymous.

From c. 1989 the appellation became neutral in college slang, taking on a sense of "a person having knowledgeability or capability." In the 1990s it was often paired with another word (film geek, computer geek, etc.) and no longer necessarily used with a sense of disparagement.

Related entries & more 
Advertisement
geek (v.)

"become excessively enthusiastic" about a particular topic, c. 1990, typically with out (adv.); from geek (n.).

geek out vi. To temporarily enter techno-nerd mode while in a non-hackish context, for example at parties held near computer equipment. [Eric S. Raymond, "The New Hacker's Dictionary," 1996]
Related entries & more 
gowk (n.)

"cuckoo," early 14c., from Old Norse gaukr, from Proto-Germanic *gaukoz (source also of Old English geac "cuckoo," Old High German gouh); compare gawk. The meaning "fool" attested from c. 1600.

These words are like mushrooms growing on the same stump: they are members of one rootless family. [Anatoly Liberman, "Analytic Dictionary of English Etymology," writing of gawk, gowk, geek, etc.]
Related entries & more 
geeky (adj.)

by 1985, from geek (n.) in teen slang sense + -y (2).

Related entries & more 
gawk (v.)

"stare stupidly," 1785, American English, of uncertain origin. Perhaps [Watkins] from gaw, a survival from Middle English gowen "to stare" (c. 1200), from a Scandinavian source akin to Old Norse ga "to heed," from Proto-Germanic *gawon, from PIE *ghow-e- "to honor, revere, worship" (see favor (n.)); and altered perhaps by gawk hand (see gawky). Liberman finds this untenable and writes that its history is entangled with that of gowk "cuckoo," which is from Scandinavian, but it need not be from that word, either. Nor is French gauche (itself probably from Germanic) considered a likely source. "It is possibly another independent imitative formation with the structure g-k" (compare geek). From 1867 as a noun. Related: Gawked; gawking.

Related entries & more 
Advertisement
Nimrod 

"great hunter," 1712, a reference to the biblical son of Cush, referred to (Genesis x.8-9) as "a mighty hunter before the Lord." In Middle English he was Nembrot (mid-13c.), founder of cities and builder of the tower of Babel (though Genesis does not name him as such). In 16c.-17c. his name was synonymous with "a tyrant." The word came to mean "geek, klutz" by 1983 in teenager slang, for unknown reasons. (Amateur theories include its occasional use in "Bugs Bunny" cartoon episodes featuring rabbit-hunting Elmer Fudd as a foil; its alleged ironic use, among hunters, for a clumsy member of their fraternity; or a stereotype of deer hunters by the non-hunting population in the U.S.)

Related entries & more 
nerd (n.)

also nurd, 1951, "a person lacking in social skills, fashion sense or both" (Partridge Dictionary of Slang). U.S. student slang, probably an alteration of 1940s slang nert "stupid or crazy person," itself an alteration of nut. The word turns up in a Dr. Seuss book from 1950 ("If I Ran the Zoo"), which may have contributed to its rise.

In late 1970s-early 1980s often with a derogatory sense of "person who doesn't use drugs or attend parties." From ca. 1984 considered roughly synonymous with geek.

[…] in The New Yorker […] writer John Seabrook correctly observed, “To people who are unfamiliar with computers, [Bill] Gates is just a nerd.” Rather than further observe correctly that to most people familiar with computers, Gates was an even bigger nerd, Seabrook then made an astounding statement, one that threatened to upset time-honored social hierarchies from corporate softball teams to kindergarten cloakrooms. “Actually,” Seabrook wrote, “Gates probably represents the end of the word ‘nerd’ as we know it.”
While Gates probably does represent the end of the word nerd as we know it — in Webster’s Eleventh it will be replaced by the word gates — he’s hardly the salvation of the geeks. He’s a billionaire, and that’s certainly cool, but that doesn’t make him cool, especially him minus 6.2 billion dollars.
[Larry Doyle, "Geek Chic," New York Magazine, June 13, 1994.]
Related entries & more