Shell
(Redirected from Shells)
Shell
A shell is a user interface for access to an operating system's services. In general, operating system shells use either a command-line interface (CLI) or graphical user interface (GUI), depending on a computer's role and particular operation. It is named a shell because it is an outer layer of interface between the user and the innards of the operating system (the kernel).
Types of Shells[edit | edit source]
Command-Line Interface (CLI)[edit | edit source]
A command-line interface (CLI) is a text-based user interface used to view and manage computer files. Examples of CLI shells include the Bourne shell (sh), the C shell (csh), the Korn shell (ksh), and the Bourne Again shell (bash).
Graphical User Interface (GUI)[edit | edit source]
A graphical user interface (GUI) shell provides a graphical means of interacting with the operating system. Examples include the Windows Shell, the GNOME Shell, and the KDE Plasma Shell.
Functions of a Shell[edit | edit source]
Shells provide several functions, including:
- Command interpretation: Interpreting and executing user commands.
- Scripting: Writing and executing scripts to automate tasks.
- Job control: Managing multiple tasks within a single shell session.
- File manipulation: Navigating and manipulating the file system.
Popular Shells[edit | edit source]
- Bourne shell (sh)
- C shell (csh)
- Korn shell (ksh)
- Bourne Again shell (bash)
- Z shell (zsh)
- Friendly Interactive Shell (fish)
Shell Scripting[edit | edit source]
Shell scripting is writing a series of commands for the shell to execute. It is commonly used for task automation, program execution, and file manipulation. Shell scripts are typically written in a text editor and saved with a .sh extension.
Related Pages[edit | edit source]
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD