Wednesday, June 15, 2011

--- USING THE COMMAND LINE ---

The command line can be views as an alternative to the window view (GUI). The Command line is known as CLI Command Line Interface. In the command line gives you access to a much more powerful, low level operating system functions. The GUI Graphic User Interface, is a high-lever abstraction environment don´t give you this power. Icons and menues limits the access to what the people who made it has given you. When you click a icon, underneath actual commands are run. The GUI is a limited additional layer between the operator and operating system, in which a restricted range of functions are represented by pretty pictures. By using the CLI you operate in the same lever as your system.

Tip: Low-level and high-level, implies a hierarchy och functionality. Functions of the lowest level communicate with the kernel (system core) directly. High-level tools do more work themselves, offering more functionality and increase safety. Imagen you use the rm command, its fast end effective, but you there is no easy way to recover that file. Using a GUI to remove files insist that you move the file to trash instead of actually removing the file from the filesystem. This gives you a chans to recover it with ease. Of course you could (and I do) simply move files to a directory you name trash before you remove it from you system.  

No comments:

Post a Comment