Command-line interface

command-line interface (CLI), also known as command-line user interfaceconsole user interface, and character user interface (CUI), is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines).

The CLI was the primary means of interaction with most computer systems until the introduction of the video display terminal in the mid-1960s, and continued to be used throughout the 1970s and 1980s on Unix systems and personal computer systems including MS-DOSCP/M and Apple DOS. The interface is usually implemented with a command line shell, which is a program that accepts commands as text input and converts commands to appropriate operating system functions.

Command-line interfaces to computer operating systems are less widely used by casual(随便的;非正式的;临时的;偶然的) computer users, who favor graphical user interfaces. Command-line interfaces are often preferred by more advanced computer users, as they often provide a more concise(简明的,简洁的) and powerful means to control a program or operating system.

Programs with command-line interfaces are generally easier to automate(使自动化,使自动操作) via scripting.

Alternatives to the command line include, but are not limited to text user interface menus (see IBM AIX SMIT for example), keyboard shortcuts, and various other desktop metaphors centered on the pointer (usually controlled with a mouse).

 

posted @ 2014-10-22 22:38  wuhn  阅读(363)  评论(0编辑  收藏  举报