For Linux beginners (1)

Source: Internet
Author: User

Now, when many people begin to access computers, they should see Windows 98. To be honest, 98 is already very user-friendly, A well-encapsulated system allows anyone who knows nothing about computers to use it quickly. In this way, many people have a very different impression on "computer" than those who first came into contact with me. In the DOS era, if you do not understand the basic knowledge of the computer, you will not be able to play with it. Unlike many people who do not know what the CPU is, but can be Flash experts, dumping numerous MM. If you are such a person and want to learn Linux, you have to go back. Why.

Let's take a look at the development of the MS operating system. It has two kernels: MSDOS ---> DOS + Win3.2 --> Win9X \

---> WinXP WindowsNT3.1 --- NT4.0 --> Win2000/

His development is from the DOS pure character interface system to an application program (Win3.2) that combines the kernel of the character interface with an image interface, and then combines the two windows 95 systems, now, at the beginning, the NT of the graphic interface has become

Windows XP, his ambition in the future is to become. net on the internet. Now let's look at Linux. Linux is just a kernel! This is important and you must understand it.

Only one kernel cannot constitute one operating system. Currently, linux operating systems such as redhat, blue dot, and red flag all use such a kernel, and other applications include X. Anything called an operating system is like this: Kernel + User Interface + general applications.

Now I will take the correspondence between the MS system and the linux system to let everyone know more about Linux. If you have installed DOS, then you must know that the entire hard disk has io under the root directory after the installation is complete. sys msdos. sys command.com config. sys autoexec. bat contains five files and the C: \ dos Directory, which is very simple. Io. sys and msdos. sys is the system kernel, command.com is the user interface (shell), config. sys and autoexec. bat is the configuration file. Under the C: \ DOS directory, the io is first loaded when the application system starts. sys, And then mount msdos according to the configuration file settings. sys and command.com, and then the prompt appears. Now you can enter the command. For example, copy c: \ aaa.txt d: \ aaa.txt to copy the file. You can also use some applications in the C: \ dos directory to complete the work, such as editing files and writing basic programs using Qbasic.

Next, you have installed a program called Foxpro2.6, which allows you to do some database work. Then, you have installed a program named windows3.2 Chinese version, this program is amazing. Now you don't have to execute commands under the command line. You can use the mouse to operate it. Open the file manager, Open C, and open another window. D, the copy c: \ aaa.txt d: \ aaa.txt command can be completed with a mouse pull. You just moved the index finger a few times, which is no different from Windows 98.

OK. After installing linux in goto linux, the root directory contains boot, bin, sbin, etc, usr/bin, and other directories.

There is a vmlinuz file under boot. This is the kernel, which is the one written by linus, the most powerful hacker in the world.

Bin has sh, Which is shell = command.com, user interface) because UNIX systems do not have internal commands, to be accurate,/bin +/sbin = Command.com and/etc = config. sys + msdos. sys/usr/bin = c: \ dos

Of course. Because Linux is much larger than Dos, reahat and red flag may have different arrangement methods, and there are no rules for things in various directories. Linux starts by loading vmlinuxz, and then loading sh or other shells, such as bash. Now you can enter the command. For example, cp/aaa.txt/tmp/aaa.txt. You can also use vi to edit files and use gcc to compile programs.

Next, you have installed a program called MySQL, which allows you to do some database work, and then you have installed a program named kde4.0, which is amazing, you do not need to execute commands in the command line now. You can use the mouse to open the file manager, open/, and then open another window/tmp, the command cp/aaa.txt/tmp/aaa.txt can be completed with one mouse pull. You just moved the index finger several times and now it is no different under Windows 98.

I hope you can understand why I say that you are turning back, because the current Linux operating system = MS Win3.2, but the MS system has passed 9X, and now it is XP, it lags behind two generations. Of course, this is from the user interface, but it is precisely because many people have installed a Linux system and are engaged in the east and west on the kde of X, and nothing else can be done, why can't you do it? Because you haven't done DOS, you don't even know that the system can do this. At first, you came into contact with 98. The computer gave you the feeling that you were operating with the mouse. You think that is also an operating system, and Linux should be like this. You have never thought that you are playing with Linux, but you are actually playing with a program running on Linux. Therefore, many people have completed installation for a few days, but Linux does. This can be said to be true or not to Linux. You haven't seen it yet. What qualifications do you have to say about it? But kde does. You have used 98. Now you can use 3.2. How do you feel?

In terms of stability, I don't get 98, take 95, if the same job crashes once a day, then X will crash 10 times, if it is 2000, 2000 crashes once a day, and X crashes 100 times. It is similar to 3.2. But why do I still hear that some Hollywood movie stunt effects are completed on Linux? To attend an important banquet, you can either buy a famous suit or make a suit. Of course, the customized suit is better fit, but the price is more expensive, workload is also more famous brand suit = Windows system customized suit = Linux system + modify system kernel + modify X code + modify kde code + specially written stunt software your current suit street goods, that is, the reahat garment factory is designed to adapt to mass production of all people around the world. Do you understand? If you understand that Linux is better than windows, I don't need to talk nonsense. Why does Linux tend to be related to hackers? I remember reading a book, "Linux is written by a linus hacker and many hackers on the Internet ". So how can a system written by hackers be irrelevant to hackers? Of course, this definition of "hacker" is totally different from the definition of "hacker" in the minds of many Chinese people. The former is almost never intruded into other systems, and the latter is always intruded.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.