Shell (computing)
, a shaped window (oclock) as well as several iconified windows. In the lower right we can see a terminal emulator running a Unix shell, in which the user can type commands as if they were sitting at a terminal. An operating system shell is a computer program that provides relatively broad and direct access to the system on which it runs. The term shell refers to how it is a relatively thin layer around an operating system. Most shells are command-line interface (CLI) programs. Some graphical user interfaces (GUI) also include shells.
, a shaped window (oclock) as well as several iconified windows. In the lower right we can see a terminal emulator running a Unix shell, in which the user can type commands as if they were sitting at a terminal.]] An operating system shell is a computer program that provides relatively broad and direct access to the system on which it runs. The term shell refers to how it is a relatively thin layer around an operating system. Most shells are command-line interface (CLI) programs. Some graphical user interfaces (GUI) also include shells. ==History== Early interactive systems provided a simple command-line interpreter as part of the resident monitor. This interpreter might be called by different names, such as COMCON on DEC TOPS-10 systems. The interpreter would execute one of a number of predefined commands, one of which would be to run a user program. Common commands would log the user on and off the system, allocate, free, and manipulate devices and files, and query various pieces of information about the system or a user process. In 1964, for the Multics operating system, Louis Pouzin conceived the idea of "using commands somehow like a programming language," and coined the term shell to describe it. In a 1965 document, the shell is defined as "a common procedure called automatically by the supervisor whenever a user types in some message at his console, at a time when he has no other process in active execution under console control. This procedure acts as an interface between console messages and subroutine [in the supervisor]." This system was first implemented by Glenda Schroeder and an unnamed man from General Electric. Multics also introduced the active function, a key concept in some later shells. This is defined as In 1971, Ken Thompson developed the Thompson shell in the first version of Unix. While simpler than the Multics shell, it contained some innovative features, which have been carried forward in modern shells, including the use of < and > for input and output redirection. The graphical shell first appeared in Douglas Engelbart’s NLS system, demonstrated in December, 1968 at the Fall Joint Computer Conference in San Francisco, in what has been called The Mother of All Demos. Engelbart’s colleagues at Stanford Research Institute brought the concept to the Xerox Palo Alto Research Center (PARC), where it appeared on the Alto, introduced in 1973. From there the idea spread to Niklaus Wirth’s Lilith in 1980, and the Apple Lisa in 1983, then became ubiquitous. == Command-line shells == , a CLI shell in Windows]] , a widely adopted Unix shell ]] A command-line interface (CLI) is an operating system shell that uses alphanumeric characters typed on a keyboard to provide instructions and data to the operating system, interactively. For example, a teletypewriter can send codes representing keystrokes to a command interpreter program running on the computer; the command interpreter parses the sequence of keystrokes and responds with an error message if it cannot recognize the sequence of characters, or it may carry out some other program action such as loading an application program, listing files, logging in a user and many others. Operating systems such as UNIX have a large variety of shell programs with different commands, syntax and capabilities, with the POSIX shell being a baseline. Some operating systems had only a single style of command interface; commodity operating systems such as MS-DOS came with a standard command interface (COMMAND.COM) but third-party interfaces were also often available, providing additional features or functions such as menuing or remote program execution. Application programs may also implement a command-line interface. For example, in Unix-like systems, the telnet program has a number of commands for controlling a link to a remote computer system. Since the commands to the program are made of the same keystrokes as the data being sent to a remote computer, some means of distinguishing the two are required. An escape sequence can be defined, using either a special local keystroke that is never passed on but always interpreted by the local system. The program becomes modal, switching between interpreting commands from the keyboard or passing keystrokes on as data to be processed. A feature of many command-line shells is the ability to save sequences of commands for re-use. A data file can contain sequences of commands which the CLI can be made to follow as if typed in by a user. Special features in the CLI may apply when it is carrying out these stored instructions. Such batch files (script files) can be used repeatedly to automate routine operations such as initializing a set of programs when a system is restarted. Batch mode use of shells usually involves structures, conditionals, variables, and other elements of programming languages; some have the bare essentials needed for such a purpose, others are very sophisticated programming languages in and of themselves. Conversely, some programming languages can be used interactively from an operating system shell or in a purpose-built program. Several command-line shells, such as Nushell, Xonsh, Bash (Unix shell), and Z shell, offer command-line completion, enabling the interpreter to expand commands based on a few characters input by the user. A command-line interpreter may offer a history function, so that the user can recall earlier commands issued to the system and repeat them, possibly with some editing. Since all commands to the operating system had to be typed by the user, short command names and compact systems for representing program options were common. Short names were sometimes hard for a user to recall, and early systems lacked the storage resources to provide a detailed on-line user instruction guide. == Graphical shells == A graphical user interface (GUI) provides means for manipulating programs graphically, by allowing for operations such as opening, closing, moving and resizing windows, as well as switching focus between windows. Graphical shells may be included with desktop environments or come separately, even as a set of loosely coupled utilities. Most graphical user interfaces develop the metaphor of an "electronic desktop", where data files are represented as if they were paper documents on a desk, and application programs similarly have graphical representations instead of being invoked by command names.
References
- ^ Multics Common Commands (PDF) . Honeywell Inc. February 1983. pp. 1-1 – 1-2 . GB58-00 . Retrieved 30 December 2025 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ Xonsh Official Website Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ "Restart Mission Control in OS X Lion" . OSXDaily. 23 November 2011. Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ "Operating system shells" . AIX 6.1 Information Center . IBM Corp . Retrieved 16 September 2012 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ Wheeler, Sean (14 October 2018). "Running Remote Commands" . Microsoft Docs . Microsoft . Retrieved 30 June 2019 . You can run commands on one or hundreds of computers with a single PowerShell command. Windows PowerShell supports remote computing by using various technologies, including WMI, RPC, and WS-Management. Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ teocci. "How to SSH into Windows 10 or 11?" . GitHub Gist . Retrieved 24 January 2025 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ Digital Equipment Corporation (November 1980). TOPS-10 MONITOR INTERNALS (PDF) . pp. CMND-1 – CMND-16 . Retrieved 29 March 2022 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ Digital Equipment Corporation (August 1977). DECSystem 10 Operating System Commands Manual (PDF) . Retrieved 29 March 2022 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ a b Pouzin, Louis. "The Origin of the Shell" . multicians.org . Retrieved 29 March 2022 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ British Computer Society: The BCS glossary of ICT and computing terms . Pearson Education. 2005. p. 135. ISBN 978-0-13-147957-9 . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ "The Internet's fifth man" , Brain scan, The Economist , London: Economist Group , 13 December 2013, Mr Pouzin created a program called RUNCOM that helped users automate tedious and repetitive commands. That program, which he described as a "shell" around the computer's whirring innards, gave inspiration—and a name—to an entire class of software tools, called command-line shells, that still lurk below the surface of modern operating systems. Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ a b Raymond, Eric S. (ed.). "shell" . The Jargon File . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ a b c "The Life Cycle of a Daemon" . Apple Inc. Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- ^ a b Poizin, Louis. "The SHELL: A Global Tool for Calling and Chaining Procedures in the System" (PDF) . Wikipedia revision 1370175776, retrieved 2026-11-21 · 1795215600.0
- The Internet's fifth man . · 1787094000.0
- This system was first implemented by Glenda Schroeder and an unnamed man from General Electric. Multics also introduced the active function, a key concept in some later shells. This is def . · 1787094000.0
- [https://xon.sh/ Xonsh Official Website] . · 1787094000.0
- The Life Cycle of a Daemon . Apple Inc . · 1787094000.0
- Restart Mission Control in OS X Lion . · 1787094000.0
- In expert systems, a shell is a piece of software that is an "empty" expert system without the knowledge base for any particular application. == See also == Div col|colwidth=20em * Annotated . · 1787094000.0
- shell . The Jargon File . · 1787094000.0
- Operating system shells . AI . · 1787094000.0
- Wheeler, Sean. Running Remote Commands . Micro . · 1787094000.0
- teocci. How to SSH into Windows 10 or 11? . GitHub Gist . retrieved 2025-01-24 · 1737673200.0
- Digital Equipment Corporation. TOPS-10 MONITOR INTERNALS . Nov 1980. · 1787094000.0
- Digital Equipment Corporation. DECSystem 10 Operating System Commands Manual . Aug 1977. · 1787094000.0
- Poizin, Louis. The SHELL: A Global Tool for Calling and Chaining Procedures in the System . · 1787094000.0
- Pouzin, Louis. The Origin of the Shell . multicians.org . retrieved Mar 29, 2022 · 1787094000.0
Cite this
"Shell (computing)". 1787144696. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1370175776