Difficulty: Easy
Correct Answer: Bourne shell
Explanation:
Introduction / Context:
Shells are command interpreters that provide the user interface to UNIX. Historically, several shells evolved with different syntax and features. Recognizing their origins and defaults helps with scripting portability and legacy system maintenance.
Given Data / Assumptions:
Concept / Approach:
The Bourne shell (sh), created by Stephen Bourne at Bell Labs, was the standard shell on early UNIX and became the baseline for shell scripting. Later, the C shell (csh) added C-like syntax and interactive features, and the Korn shell (ksh) improved on sh with advanced scripting. Nevertheless, sh remained the canonical “earliest and most widely used default.”
Step-by-Step Solution:
Verification / Alternative check:
On many UNIX derivatives, /bin/sh links to the system’s default POSIX shell; historically, this derived from the Bourne shell lineage, confirming its foundational role.
Why Other Options Are Wrong:
C shell: influential but later and not the earliest default. Korn shell: later enhancement; not the original standard. Smith shell: not a historical UNIX shell. None: incorrect because Bourne shell is correct.
Common Pitfalls:
Confusing interactive convenience (csh history, aliases) with historical default status; assuming modern /bin/sh always equals bash—implementations vary.
Final Answer:
Bourne shell
Discussion & Comments