How many lines of code were in the first Unix version (with the Thompson shell)?
Given that the modern Linux kernel has about 15 million lines of code, I do wonder of the amount with the first Unix product released at the time.
Retrocomputing Stack Exchange is a question and answer site for vintage-computer hobbyists interested in restoring, preserving, and using the classic computer and gaming systems of yesteryear. It only takes a minute to sign up.
Sign up to join this communityHow many lines of code were in the first Unix version (with the Thompson shell)?
Given that the modern Linux kernel has about 15 million lines of code, I do wonder of the amount with the first Unix product released at the time.
According to the Unix history repository, V1 had 4,501 lines of assembly code for its kernel, initialisation and shell. Of those, 3,976 account for the kernel, and 374 for the shell.
For comparison, current dash
has 14,455 lines of C, and the current Linux kernel has 372,988 lines of C for its core functions only (kernel
, lib
and mm
in the kernel source code). But their capabilities are vastly greater than those of V1.