Professional Documents
Culture Documents
3 Operating systems
• Two user interfaces:
– Command line interface (CLI)
– Graphical user interface (GUI)
Command line interface (CLI)
• Requires a user to type in instructions to
choose options from menus, open a software
etc.
• The user has to learn a number of commands
just to carry out basic operations.
• Advantage: the user is in direct
communication with the computer.
Example of CLI
Graphical user interface (GUI)
• Allows the user to interact with a computer
using pictures or icons.
• GUIs use various technologies and devices to
provide the user interface.
• One of the most common is WIMP (windows
icons menu and pointing device), which was
developed for use on PCs.
• A windows manager looks after the
interaction between windows, the
applications and windowing system (which
handles the pointing devices and the cursor’s
position).
• Devices such as touch-screen phones use
post-WIMP (“windows, icons, menus,
pointer”) interaction, where fingers are in
contact with the screen allowing actions such
as pinching and rotating.
Differences between CLI and GUI
Interface Advantages Disadvantages
Command • The user is in • The user needs to learn a
line direct number of commands to
interface communication carry out basic operations.
(CLI) with the PC. • All commands need to be
• The user is not typed in, which takes time
restricted to a and can be error-prone.
number of • Each command must be
predetermined typed in using the correct
options. format, spelling, etc.
• It is possible to • It is more difficult to edit
alter computer once commands are
configuration entered.
settings.
Differences between CLI and GUI
Interface Advantages Disadvantages
Graphical user • The user doesn’t • It uses up
interface (GUI) need to learn any considerably more
commands. computer memory.
• It is more user- • The user is limited
friendly; icons are to the icons
used to represent provided on the
applications. screen.
• A pointing device is • It needs an OS, such
used to click on an as Windows, to
icon to launch the operate, which uses
application. up considerable
memory.
Who would use each type of
interface?
• CLI: a programmer, analyst or technician; basically
somebody who needs to have direct
communication with a computer to develop new
software, locate errors and remove them, initiate
memory dumps (some computer errors are
unrecoverable because they require a reboot to
regain functionality), etc.