Command Line: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
m (moved Command line to Command Line: manual of style)
m (style, deleted "no multitasking" part since its possible)
Line 1: Line 1:
Command line interface (or CLI) is an interface which accepts commands from the user, similar to Windows Command Prompt or Linux Terminal. Check also [[Text_UI]].
The <b>Command Line Interface</b> or <b>CLI</b> is an interface which accepts commands from the user, similar to Windows Command Prompt or Linux Terminal. Check also [[Text UI]].


==Implementation==
==Implementation==
Line 20: Line 20:


* Hard for beginner users
* Hard for beginner users
* No multitasking

Revision as of 18:51, 25 July 2016

The Command Line Interface or CLI is an interface which accepts commands from the user, similar to Windows Command Prompt or Linux Terminal. Check also Text UI.

Implementation

To implement a minimal CLI, you need at least:

  • Access to video memory
  • Keyboard driver
  • String input and comparison
  • Some functions to execute on commands

Because of their ease of implementation, CLI's are popular in hobby OS projects.

Advantages

  • Speed and control
  • Less resources needed
  • Scripts to automate tasks
  • No need for mouse devices and drivers

Disadvantages

  • Hard for beginner users