Difference between command line and batch interface in os
Answers
The main difference between GUI and CLI is that the Graphical User Interface (GUI) allows the user to interact with the system using graphical elements such as windows, icons, menus while the Command Line Interface (CLI) allows the user to interact with the system using commands.
An operating system is an interface between the user and the hardware components. It performs different tasks. An operating system provides GUI or CLI for the user to perform tasks. Some operating systems only provide CLI while others provide both GUI and CLI. A GUI consists of controls or widgets to interact with the computer. On the other hand, when using the CLI, the user should enter commands to perform the tasks. Overall, GUI is more user-friendly, but the execution speed is higher in CLI.