Saturday, March 19, 2011

Linux: GUI vs. Command Line



In the Linux , there are two modes for users to interact with the computer. One is GUI (Graphical User Interface) and CLI (Command Line Interface). GUI looks like windows/ graphical and CLI is looks command prompt.
GUI:




CLI

Here is some different GUI and CLI

GUI makes it easy for the user, therefore makes the OS user-friendly.
GUI interface means the OS is "dumbed down"

=====>>CLI gives the user more control and options.
=====>>> CLI is stone-aged; it belongs to a "The History of Computers" museum.

@Xwindows is progress compared to the CLI.
@Xwindows presents a really big security risk...load it and you are asking to be hacked.

Using GUI is faster. Picking and choosing icons sure beats trying to remember and typing command lines.
====>Using CLI is faster. A keyboard is pretty much all you need here, much faster than all that clicking, scrolling, clicking some more, scrolling some more, and more typing, then clicking.

@@@ GUI consumes too much CPU and memory. ( With newer and more powerful computers, that is not a problem. And its benefits are well worth it.)


(~)

So, in the user-friendly vs. control and options debates, both sites have a point. But there is a third point: GUI and CLI can be used together to achieve great things that either one alone can't. This is particularly true with Linux where the user is given the flexibility of switching back and forth between GUI and Command Line easily. One example is that Linux CLI and GUI can give the user the ability to work on any computer on the network as if you were sitting at that computer. On Unix/Linux (running X-Windows) all you need to do is use the xhost command to specify which computers you want to allow access, and the DISPLAY environment variable to specify on which computer you want to start the GUI of the program you want to run.


No comments:

Post a Comment