Hello, with that spelling, was used in publications in the US as early as the 18 October 1826 edition of the Norwich Courier of Norwich, Connecticut. Another early use was an 1833 American book called The Sketches and Eccentricities of Col. David Crockett, of West Tennessee, which was reprinted that same year in The London Literary Gazette. The word was extensively used in literature by the 1860s.
According to the Oxford English Dictionary, hello is an alteration of hallo, hollo, which came from Old High German "halâ, holâ, emphatic imperative of halôn, holôn to fetch, used especially in hailing a ferryman". It also connects the development of hello to the influence of an earlier form, holla, whose origin is in the French holà (roughly, 'whoa there!', from French là 'there'). As in addition to hello, halloo, hallo, hollo, hullo and (rarely) hillo also exist as variants or related words, the word can be spelt using any of all five vowels.
The use of hello as a telephone greeting has been credited to Thomas Edison; according to one source, he expressed his surprise with a misheard Hullo. Alexander Graham Bell initially used Ahoy (as used on ships) as a telephone greeting. However, in 1877, Edison wrote to T. B. A. David, president of the Central District and Printing Telegraph Company of Pittsburgh:
Friend David, I do not think we shall need a call bell as Hello! can be heard 10 to 20 feet away. What you think? Edison - P.S. first cost of sender receiver to manufacture is only $7.00.
Hello might be derived from an older spelling variant, hullo, which the American Merriam-Webster dictionary describes as a "chiefly British variant of hello", and which was originally used as an exclamation to call attention, an expression of surprise, or a greeting. Hullo is found in publications as early as 1803. The word hullo is still in use, with the meaning hello.
Hallo and hollo
Hello is alternatively thought to come from the word hallo (1840) via hollo (also holla, holloa, halloo, halloa). The definition of hollo is to shout or an exclamation originally shouted in a hunt when the quarry was spotted:
If I fly, Marcius,/Halloo me like a hare.
And the good south wind still blew behind,
But no sweet bird did follow,
Nor any day for food or play
Came to the mariners' hollo!
In many Germanic languages, including German, Danish, Norwegian, Dutch and Afrikaans, "hallo" literally translates into English as "hello". In the case of Dutch, it was used as early as 1797 in a letter from Willem Bilderdijk to his sister-in-law as a remark of astonishment.
Webster's dictionary from 1913 traces the etymology of holloa to the Old English halow and suggests: "Perhaps from ah + lo; compare Anglo Saxon ealā".
The Old English verb, hǽlan (1. wv/t1b 1 to heal, cure, save; greet, salute; gehǽl! Hosanna!), may be the ultimate origin of the word. Hǽlan is likely a cognate of German Heil (meaning complete for things and healthy for beings) and other similar words of Germanic origin. Bill Bryson asserts in his book Mother Tongue that "hello" comes from Old English hál béo þu ("Hale be thou", or "whole be thou", meaning a wish for good health; cf. "goodbye" which is a contraction of "God be with ye").
"Hello, World" computer program
Students learning a new computer programming language will often begin by writing a "Hello, World!" program, which does nothing but issue the message "Hello, world" to the user (such as by displaying it on a screen). It has been used since the earliest programs, in many computer languages. This tradition was further popularised after being printed in an introductory chapter of the book The C Programming Language by Kernighan Ritchie. The book had reused an example taken from a 1974 memo by Brian Kernighan at Bell Laboratories.
- "hello". Oxford English Dictionary (Online ed.). Oxford University Press. (Subscription or participating institution membership required.)
- (Anonymous). The Sketches and Eccentricities of Col. David Crockett, of West Tennessee. New York: J. J. Harper, 1833. p. 144.
- "The Sketches and Eccentricities of Col. David Crockett, of West Tennessee". The London Literary Gazette; and Journal of Belles Lettres, Arts, Sciences, c. No. 883: 21 December 1833. p. 803.
-  Origin of the word.
- "hallo". Oxford English Dictionary (Online ed.). Oxford University Press. (Subscription or participating institution membership required.)
- "holla". Oxford English Dictionary (Online ed.). Oxford University Press. (Subscription or participating institution membership required.)
- Butler, Mann, A History of the Commonwealth of Kentucky, Wilcox, Dickerman Co., 1834, p. 106.
- Merriam-Webster: Hollo