Get a CLI on GUI
Posted by Zerin
All right. What am I talking about now? Is this about hardware? Sadly no. But this is a very interesting topic which normally no one cares about because it is very boring. However, being an unknown and unread blog, I don’t have to worry about stuff like that. So what is CLI and GUI? Let me explain.
GUI: Pronounced Gooey. Actual meaning = Graphical User Interface, This is the point and click interface we all know and love. Click minimize and maximize now. As you can see. what you just did was point and click. And the graphics displayed as you told it to do. This make life about a million time easier! Not only easier but also more efficient in multitasking and cooler to look at (mostimes) but there is a dark side to this. Every year and the time goes by. this GUI grows bigger and turn slower. It may not respond all the time and hates it when you click everywhere like a crazy fool and tends to crash.
So whenever you make something easier and cooler, you need a faster machine to run it. Like Windows 95 only needed like 50 Megehertz and 10 megabytes of ram to do stuff, it was simple and easy, but as time went on the requirements for GUI has lifted, up till now you need at least 1000 megabytes of ram and a 2000 megahertz of power. Meaning that your interaction with the PC may be slower and terrible. So, despite the benefits of the GUI, there will always be problems and only one thing can solve them. CLI
CLI: pronounced. Command Line. Actual meaning. Command Line Interface. Nothing imaginative as you can clearly see. However, this explains what it does. It is the interface you use to type in commands, and your computer does them. Way back them when PCs where still in the workshop, system administrators had to type everything and remember commands and figure out how to do stuff on a computer all from black and white words. Well green and black actually. I blame the early monitors for that. What was this good for.?Well, all the power went into the task the computer was doing and none on the fancy graphics that we are used to. Is it still used today? Of course! In fact, when all else fails, the CLI never does. But what is the downside? As you may have guessed, it’s that you must know your computer or OS really well, otherwise, you will never get it to do anything. Does my Windows have this? Yes, it does, in fact, Windows 95 and 3.11 was just a nice fancy graphical interface to automatically type in all the commands for you. Like when you click on a button, the GUI types in for you in the background at lightning fast speeds and it does it.
Wow, so really it’s always the CLI that does the real work. Now how does this thing work anyway then? In Windows you can try it! If you have vista or 7 just type CMD in the search bar above your start button.
In XP, type cmd in the run button on your right after clicking start. Welcome to the command line. Many Linux users know this pretty well. Except we call it the Terminal. Same thing, but it does more things that the windows one. Ok right so on your CLI type in ipconfig There you can see all your network ID and IP addresses and junk. There many other things you can do here such as search for folders and connect to other computers and pinging, tracing routes on the internet, but most of these are things i learned in Networking class.
Now if we are going to talk about CLI, we must get around to Linux. Any type of Linux Distribution requires you to enter the Terminal at least a couple times. Contrary to Windows, where you may never enter it in it’s entire life. But in Linux, it’s your best friend. Do you remember one of the posts, how i mentioned the easiest way to upgrade Ubuntu? Well, simply by opening a terminal and typing sudo apt-get update and sudo apt-get upgrade. No point and click, no fussing or sissy footin’ aournd, just straight to the point. Basically what it did was tell it to check for updates, then install them. 2 easy steps. Most times
The Terminal terminology is also sometimes straightforward. For example to shut down a Linux-based pc. shutdown -t0 -h or was that sudo halt now Whatever. The command goes first, the time delay until it shuts down, i put 0. and -h meant after shutting down the system, I said halt everything, so it will shut down no matter what. This may seem extra steps when you could just click or push the power button, but when you really want to be sure your computer will shut down, I would trust the terminal with my life. Also, when the GUI fails, the terminal rarely does, but still, GUI is much easier. So do you now understand the CLI and GUI? Good. Will you ever use it? Maybe not, but when you come into contact with a computer Terminal, just know that you know the difference and you won’t waste your time looking for the mouse. And of course when all else fails, type /? or help or –-help ,it really works. Brings up the list of commands you can type and stuff.
About ZerinBut can you show me the source code?
Posted on November 15, 2010, in Computers and Internet and tagged Advanced Packaging Tool, Command-line interface, Computer terminal, Graphical user interface, Linux, Microsoft Windows, Operating system, Personal computer. Bookmark the permalink. Leave a comment.