Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects simply to a non-technical, business audience. Over…
Command line interface (CLI) is a text-based interface that is used to operate software and operating systems while allowing the user to respond to visual prompts by typing single commands into the interface and receiving a reply in the same way.
CLI is quite different from the graphical user interface (GUI) that is presently being used in the latest operating systems.
CLI is an older method for interacting with applications and operating systems and is used to perform specific tasks required by users. CLI is a text-based interface, unlike the GUI, which uses graphical options that enable the user to interact with the operating system and applications.
CLI allows a user to perform tasks by entering commands. Its working mechanism is very easy, but it is not user friendly. Users enter the specific command, press “Enter”, and then wait for a response. After receiving the command, the CLI processes it accordingly and shows the output/result on the same screen; command line interpreter is used for this purpose.
CLI was introduced with the teletypewriter machine. This system was based on batched processing. Modern computers support CLI, batch processing and GUI in one interface.
In order to best make use of CLI, a user must be able to enter a bundle of commands (one by one) quickly. There are many applications (mono-processing systems) that still use CLI for their operators. In addition, some programming languages, such as Forth, Python and BASIC, offer CLI. Command line interpreter is used to implement the text-based interface.
Another feature of CLI is command prompt, which is employed as a sequence of characters used in the user interface, or shell. Command prompt is used to notify users that CLI is ready to accept commands.
MS-DOS is the best example of CLI.
Techopedia’s editorial policy is centered on delivering thoroughly researched, accurate, and unbiased content. We uphold strict sourcing standards, and each page undergoes diligent review by our team of top technology experts and seasoned editors. This process ensures the integrity, relevance, and value of our content for our readers.
Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.
What is a Digital Ecosystem? A digital ecosystem is a complex network of interconnected digital tools, including technology resources and...
Vangie BealTechnology Expert
What is MACH Architecture? MACH architecture is a set of technologies and principles used to build flexible and scalable architecture...
Tim KearyTechnology Specialist
What Does Microsoft Certified Solution Developer (MCSD) Mean? A Microsoft Certified Solution Developer (MCSD) is an individual who has successfully...
Margaret RouseTechnology Expert
Trending NewsLatest GuidesReviewsTerm of the Day