Command Line: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
(Created page with "Command line interface (or CLI) is an interface which accepts commands from the user, similar to Windows Command Prompt or Linux Terminal. ==Implementation== To implement a ...") |
No edit summary |
||
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. |
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== |
==Implementation== |
Revision as of 18:00, 2 March 2015
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 beginners
- No multitasking