which operating system make use of both cui and gui ?
Answers
Answer:
Oddly enough, it doesn’t really make much sense to differentiate between “CLI” (aka Command Line Interface, the standard name for what you are calling CUI) and “GUI” operating system.
An operating system is merely a set of functions that manage the hardware: read and write files on disks (hence “DOS” or “Disk Operating System”), print characters to the display, output pixels and sound, schedule tasks, catch and process interrupts from various input devices (such as mice, keyboards, and modems).
In the case of the Command Line, we have a simple input device — a prompt where we can type in text — and the device then processes the text we enter, and see if it can execute those commands. In the case of a Graphical User Interface, we have a graphical picture presented before us, and the operating system collects mouse and keyboard events, and then maps those events to execute commands. In the command line, we remove a file by typing “rm file.txt”; in a graphical interface, we left-click the “file.txt” icon, and select “delete” from the menu that pops up.
Because the Command Line and the GUI are two ways to access the underlying operating system, there aren’t really any “CUI” or “GUI” operating systems. Microsoft originally had “DOS”, and when Windows first came out, it ran as a DOS program; while they pretended that later versions weren’t really CLI operating systems, they always had a CLI interface behind the scenes. Similarly, Macintosh started out without a CLI, but programmers found the CLI so useful that they developed a special programming environment that was basically a CLI that emulated Unix — and when Mac OS X came out, Apple gave up the pretext of pure CLI that they included a program called “Terminal”.
To emphasize that both CLI and GUI are merely layers over the underlying Operating System, and not the OS itself, we can look to Linux — which has as a default “bash” for its CLI, but can also use “fish” and “zsh” among about a dozen other options; and it uses “X11” as the foundation for its GUI, which is used by KDE, Gnome, Enlightenment, and XMonad (again, among about a dozen others) to manage desktops — and work is even being done to replace X11, through projects like “Mir” (which I believe is now defunct) and Wayland (which is having a difficult time to get off the ground).
thank you.
hope it helps