Command line interpreter

from Wikipedia, the free encyclopedia
The articles command line and command line interpreter overlap thematically. Help me to better differentiate or merge the articles (→  instructions ) . To do this, take part in the relevant redundancy discussion . Please remove this module only after the redundancy has been completely processed and do not forget to include the relevant entry on the redundancy discussion page{{ Done | 1 = ~~~~}}to mark. grixlkraxl ( discussion ) 15:40, Jul 4, 2016 (CEST)
The command interpreter called Bash - the standard Linux shell, under OpenSuse

A command line interpreter , English command-line interpreter or command-line shell and short command line , but also command interpreter and command interpreter called, is a program that the user entered from a command line reads and when instruction executes. The instruction is interpreted and, if necessary, its result is displayed to the user.

While command lines can be integrated in many programs, with command line interpreters the command line is the main function for using the integrated interpreter. Examples are the console or terminal , a shell or a terminal emulation .

history

In its original form, a command line interpreter makes the operating system's own functions accessible to the end user through a line-oriented syntax on a system console . After the development of the first tube screens , the command interpreters were also adapted accordingly. The cursor was invented. More and more complex command line parameters and commands were added, including simple elements from programming languages , such as: B. loops or variables .

DOS / Windows

DOS prompt

The development of the first command interpreter in the DOS series began with the development of 86-DOS . This command interpreter was also command.comcalled on the command level and was later adopted and developed further in MS-DOS and then in the Windows 9x series . However, the main development of the command.comtook place in the 80s and 90s.

Windows NT command prompt

With the introduction of the Windows NT series followed those cmd.exein whose development the previous development command.comflowed and which emulated them up to the current Windows 10 . A significant further development of the cmd.exewas not carried out because during the development priority was given to the compatibility with the former MS-DOS.

PowerShell

The so-called Windows PowerShell

For a long time Windows NT did not offer a command line interpreter on par with the Unix shells . This made many administrative tasks unnecessarily complicated. The concept that cmd.exefollowed was far inferior to that of modern Unix shells. That is why the first version of PowerShell was published in 2006 , which is based in many properties on well-known Unix shells such as Bash or zsh . In contrast to the Unix shells, the PowerShell follows the paradigm of object-oriented programming and is based on the .NET framework. The downward compatibility with MS-DOS played a subordinate role.

tasks

The command interpreter encapsulates the operating system compared to the user , and is therefore also called user interface or as Shell (Engl. For shell), respectively.

For experienced users, command interpreters have the advantage of quick and immediate control and the easy accessibility of all functions once the syntax, commands and their command line parameters have been learned. In addition, frequently recurring command sequences can be automated by batch processing , batch files, macros or scripts , which is generally very difficult to implement with a graphical user interface .

Examples

"Command request area " (below) of
AutoCAD 2.6.44 under DOS
The AutoCAD command line (below) of AutoCAD 2014 on Windows

In the following, software is named which implements a command line interpreter ( CLI ). The list is incomplete as it is only intended to show a few examples.

Supporting documents and comments

  1. Command interpreter - Wissen-digital.de (accessed on July 14, 2019); also with "command interpreter"