Command Line: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
No edit summary
(→‎Advantages: +serial & tcp)
Line 17: Line 17:
* Scripts to automate tasks
* Scripts to automate tasks
* No need for mouse devices and drivers
* No need for mouse devices and drivers
* Easily made compatible with serial lines and tcp sockets, so you can get your normal command environment when debugging display drivers or window system


==Disadvantages==
==Disadvantages==

Revision as of 23:11, 26 June 2019

This page is a stub.
You can help the wiki by accurately adding more contents to it.

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, an operating systems needs 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
  • Easily made compatible with serial lines and tcp sockets, so you can get your normal command environment when debugging display drivers or window system

Disadvantages

  • Hard for beginner users[why?]