Skip to content

    Shell

    Web design & developmentCommand shellCommand interpreter
    Reading time: 2 min.Editorially reviewed on:

    Definition

    A shell accepts commands and connects programs into executable workflows.

    A shell is an interface and execution environment for commands. It interprets input, launches programs, and can automate workflows via scripts. Examples include Bash and PowerShell. A terminal, by contrast, is the interface in which a shell can run; the two terms do not mean the same thing.

    Simply explained

    You give the computer specific instructions as text. The shell understands these commands and executes the appropriate steps.

    Why it matters in practice

    Companies can reproducibly perform recurring technical tasks if commands, prerequisites, and error handling are documented transparently.

    Example from business

    Possible example: A team runs recurring file checks with a tested PowerShell script and then evaluates the logged results.

    Limits and pitfalls

    • Commands and quotation marks do not work the same in every shell. Unchecked input can trigger unintended actions, especially with file operations or elevated privileges.

    Origin & history

    Command shells belong to interactive system operation and script automation; PowerShell extends classic text processing by handling structured objects.

    Use in mid-sized companies

    • A company can record frequent administration tasks as understandable scripts and test them with limited rights and suitable test data before productive use.

    Frequently asked questions

    Is the terminal the shell?

    No. The terminal provides input and output; the shell interprets the commands entered therein.

    Sources

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice