Command Line Interface (CLI)

Command Line Interface (CLI)


Command Line Interface (CLI)

Definition

uCommand Line Interface CLI
uIt is a type of the human-computer interface that relies solely on textual request and response transaction process.


History and features of CLI

uBefore the mouse, users interacted with an operating system (OS) or application with a keyboard.
uUsers typed commands in the command-line interface to run tasks on a computer.


Typically, the command line interface features a black box with white text.


History and features of CLI
History and features of CLI









uA command line interface (CLI) is a text-based user interface (UI) used to view and manage computer files.

uMS-DOS is the the best example of CLI.



 

MS-DOS

MS-DOS
MS-DOS



commands

uThe following slides are commands that are basically used:



“CD” change directory and “DIR”


“CD” change directory and “DIR”
“CD” change directory and “DIR”

“CD” and “DIR”


“CD” and “DIR”
“CD” and “DIR”







Creating and Removing directory


Creating and Removing directory
Creating and Removing directory


Creating and Removing


Creating and Removing
Creating and Removing


GUI versus CLI

uGUI is visually Natural. It is easy to understand for beginners.
u
uIt requires more memory as it consists of lot of graphical components.
uOne can change the appearance with customizable option




uDue to the need of remembering commands, it is difficult to handle and requires expertise.
uIt requires less memory for storage as compared to GUI.
uIt is not possible to change the appearance.



Disadvantages of CLI

uFor someone who has never used a CLI, it can be very confusing.
uCommands have to be typed precisely. If there is a spelling mistake then the command will not respond or fail.
uIf user can mistype an instruction, it is often necessary to start from scratch again.



Post a Comment

0 Comments