"perform, execute, achieve, carry out, bring to pass by procedure of any kind," etc., Middle English do, first person singular of Old English don "make, act, perform, cause; to put, to place," from West Germanic *doanan (source also of Old Saxon duan, Old Frisian dwa, Dutch doen, Old High German tuon, German tun), from PIE root *dhe- "to set, put, place."
Use as an auxiliary began in Middle English. Sense of "to put, place, lay" is obsolete except in phrases such as do away with. Periphrastic form in negative sentences (They did not think) replaced the Old English negative particles (Hie ne wendon).
Meaning "visit as a tourist" is from 1817. In old slang it meant "to hoax, cheat, swindle" (1640s). Slang meaning "to do the sex act with or to" is from 1913.
Slang do in "bring disaster upon, kill" is by 1905. To have to do with "have concern or connection with" is from late 13c. To do without "dispense with" is from 1713. Expression do or die indicating determination to succeed despite dangers or obstacles is attested from 1620s.
*dō-, Proto-Indo-European root meaning "to give."
It forms all or part of: add; anecdote; antidote; betray; condone; dacha; dado; data; date (n.1) "time;" dative; deodand; die (n.); donation; donative; donor; Dorian; Dorothy; dose; dowager; dower; dowry; edition; endow; Eudora; fedora; Isidore; mandate; Pandora; pardon; perdition; Polydorus; render; rent (n.1) "payment for use of property;" sacerdotal; samizdat; surrender; Theodore; Theodosia; tradition; traitor; treason; vend.
It is the hypothetical source of/evidence for its existence is provided by: Sanskrit dadati "gives," danam "offering, present;" Old Persian dadatuv "let him give;" Greek didomi, didonai, "to give, offer," dōron "gift;" Latin dare "to give, grant, offer," donum "gift;" Armenian tam "to give;" Old Church Slavonic dati "give," dani "tribute;" Lithuanian duoti "to give," duonis "gift;" Old Irish dan "gift, endowment, talent," Welsh dawn "gift."
"quadruped of the genus Canis," Old English docga, a late, rare word, used in at least one Middle English source in reference specifically to a powerful breed of canine; other early Middle English uses tend to be depreciatory or abusive. Its origin remains one of the great mysteries of English etymology.
The word forced out Old English hund (the general Germanic and Indo-European word, from root from PIE root *kwon-) by 16c. and subsequently was picked up in many continental languages (French dogue (16c.), Danish dogge, German Dogge (16c.). The common Spanish word for "dog," perro, also is a mystery word of unknown origin, perhaps from Iberian. A group of Slavic "dog" words (Old Church Slavonic pisu, Polish pies, Serbo-Croatian pas) likewise is of unknown origin.
In reference to persons, by c. 1200 in abuse or contempt as "a mean, worthless fellow, currish, sneaking scoundrel." Playfully abusive sense of "rakish man," especially if young, "a sport, a gallant" is from 1610s. Slang meaning "ugly woman" is from 1930s; that of "sexually aggressive man" is from 1950s.
Many expressions — a dog's life (c. 1600), go to the dogs (1610s), dog-cheap (1520s), etc. — reflect the earlier hard use of the animals as hunting accessories, not pets. In ancient times, "the dog" was the worst throw in dice (attested in Greek, Latin, and Sanskrit, where the word for "the lucky player" was literally "the dog-killer"), which plausibly explains the Greek word for "danger," kindynos, which appears to be "play the dog" (but Beekes is against this).
Notwithstanding, as a dog hath a day, so may I perchance have time to declare it in deeds. [Princess Elizabeth, 1550]
Meaning "something poor or mediocre, a failure" is by 1936 in U.S. slang. From late 14c. as the name for a heavy metal clamp of some kind. Dog's age "a long time" is by 1836. Adjectival phrase dog-eat-dog "ruthlessly competitive" is by 1850s. Phrase put on the dog "get dressed up" (1934) may be from comparison of dog collars to the stiff stand-up shirt collars that in the 1890s were the height of male fashion (and were known as dog-collars from at least 1883).
And Caesar's spirit, ranging for revenge,
With Ate by his side come hot from Hell,
Shall in these confines with a monarch's voice
Cry Havoc! and let slip the dogs of war;
[Shakespeare, "Julius Caesar"]
1590s, "commotion, trouble" (a sense now obsolete), from do (v.). From 1630s as "act of doing;" by 1824 as "something done in a set or formal manner;" by 1835 as "a cheat, a swindle." Phrase do's and dont's "things that out and ought not to be done" (variously apostrophed) is by 1899.
also do-se-do, common step in square-, contra-, polka-dancing, etc., 1929, from French dos-à-dos "back to back" (see dossier).
"a person who actively seeks to correct social ills in an idealistic, but usually impractical or superficial, way," 1650s (as do-good), in "Zootomia, or Observations on the Present Manners of the English: Briefly Anatomizing the Living by the Dead. With An Usefull Detection of the Mountebanks of Both Sexes," written by Richard Whitlock, a medical doctor. Probably used even then with a taint of impractical idealism. The verbal phrase do good "do good deeds" was in Old English.
Modern pejorative use seems to have begun on the socialist left, mocking those who were unwilling to take a hard line. OED has this citation, from The Nation in 1923:
There is nothing the matter with the United States except ... the parlor socialists, up-lifters, and do-goods.
The form do-gooder appears in American English by 1922, presumably because do-good was no longer felt as sufficiently noun-like. A slightly older word for this was goo-goo.
"confident of performance," by 1952, from expression can do "it is possible" (1903), literally "(I or we) can do (it)," which is perhaps based on earlier no can do (see no).