I always wondered where “daemon” came from. Turns out the story goes back to 1963, and starts with a Victorian physicist.
Project MAC (1963)
The term comes from Fernando J. Corbató’s team on MIT’s Project MAC, working on the early time-sharing system CTSS. They needed a word for the background processes handling system chores without anyone sitting at a terminal to run them.
Corbató later explained where the name came from:
We fancifully began to use the word daemon to describe background processes (Fernando J. Corbató, quoted in “Who is the Mailer-Daemon?”, Mental Floss).
Maxwell’s demon
James Clerk Maxwell ran a thought experiment in the 1870s: an imaginary tiny agent stationed at a door between two gas chambers, letting fast molecules through one way and slow ones the other, sorting them without any apparent energy cost. Maxwell never called it a demon himself, he was too religious for that. Lord Kelvin gave it the name a few years later, and he meant it in the Greek sense, not the horned one.
That’s the exact quality Corbató’s team wanted: something invisible, constant, working away in the background without supervision.
Why the Greek spelling
The older spelling wasn’t an accident either. In Greek mythology, a daemon is a guiding or attendant spirit, not inherently good or evil, closer to what we’d now call a guardian angel. Socrates talked about his own “daimonion” as an inner voice steering him. Using “daemon” instead of “demon” kept that neutral, helpful sense and sidestepped the Christian connotation of a hostile spirit.
Unix inherited the spelling wholesale, which is why every httpd and sshd on your box is named after a Greek guardian spirit rather than something out of a horror film.
The backronym that isn’t
You’ll sometimes see daemon expanded as “Disk And Execution MONitor” but that’s a backronym invented after the term was already in wide use. Physics and mythology are where it really comes from, the acronym is just a story people liked better once “Maxwell’s demon” left common knowledge.
Funny how much of the vocabulary we use every day was borrowed wholesale from somewhere completely unrelated. A word for “background process” invented for thermodynamics in a book before computers as we know them existed. Next time systemctl status scrolls past a wall of .service units, it’s worth remembering they’re all named after a 19th-century door-keeper for gas molecules.