<<Up     Contents

Command line interface

Redirected from Command-line

A command line interface or CLI is a method of interacting with a computer by giving it lines of text commands in written form either from keyboard input or from a script. The computer then generally responds with text output to the display or to a file. It contrasts with graphical user interfaces (GUIs).

Examples of programs which use command line interfaces include the Unix shell, VMS DCL, and related follow-on designs like CP/M and MS-DOS's command.com. These programs are often called command line interpreters.

There are other programs which use CLIs as well. The CAD program AutoCAD has one. In some computing environments like Oberon or Smalltalk, most of the text which appears on the screen may be used for giving commands.

Even though new users seem to learn GUIs more quickly to perform common operations, carefully developed CLIs have several advantages:

wikipedia.org dumped 2003-03-17 with terodump