How can beginners quickly master Linux operation and maintenance?

In 2018, the number and average salary of Linux operations and maintenance jobs continued to grow strongly last year, faster than many development jobs. According to data from the research institute, Linux ranks among the top five in the IT industry in terms of both the number of jobs and the increase in salary levels, a little better than last year's performance.

Under such a premise, it is not surprising that many people join the learning ranks of Linux operation and maintenance. However, since beginners cannot obtain the Fa, there are many people who think that it is difficult to learn Linux, and some people just give up halfway.

After all, Linux is just an operating system, as long as you master the correct learning method, it will not be too difficult. Today we will take a good look at how to learn Linux is the correct way to learn.

1. Start with the command and start with the basics

Often when some friends come into contact with Linux, they just want to build a website, but they don't think to understand the basics of Linux first. This is quite difficult. Although Linux desktop applications have developed rapidly, commands still have a strong vitality in Linux. Linux is an operating system composed of command lines. The essence is in the command line. No matter what level the graphical interface develops, this principle will not change. Linux commands have many powerful functions: from simple disk operations, file access, to Production of complex multimedia images and streaming media files. Here, the author introduces the most important and most frequently used commands among them, and introduces them into several parts according to their functions in the system. Through the study of these basic commands, we can further understand the Linux system:

●Installation and login commands: login, shutdown, halt, reboot, mount, umount, chsh

●File processing commands: file, mkdir, grep, dd, find, mv, ls, diff, cat, ln

●System management related commands: df, top, free, quota, at, lp, adduser, groupadd kill, crontab, tar, unzip, gunzip, last

●Network operation commands: ifconfig, ip, ping, netstat, telnet, ftp, route, rlogin rcp, finger, mail, nslookup

●System security related commands: passwd, su, umask, chgrp, chmod, chown, chattr, sudo, pswho

2. Choose a good Linux book

In various Linux forums, the most common question we see is a novice, who starts to ask a specific question during the installation or use of Linux. Many of them are repetitive questions, and many people even ask The basic problem description is not very clear. This shows that many beginners of linux have not mastered the basic skills. How can we quickly improve the basic skills of mastering linux? The most effective way is to learn the authoritative linux reference book, which is very important for learners. A reference book with misconceptions can lead a novice astray. At present, there are many books about Linux in China, but there are not many high-quality books. The author strongly recommends reading "Brother Bird's Linux Private Kitchen Basics", which is now in its third edition. Novices are best able to buy a hard copy book to study carefully, and make careful study notes. Of course, if you are used to reading e-books, you can also download PDF e-books from here.

3. Develop the habit of working under the command line

Be sure to get into the habit of working from the command line, knowing that X-window is just an application running in command line mode. Learning from the command line is slow at first, but once you get used to it, your future learning path will grow exponentially. From a network administrator's point of view, the command line is actually a rule, which is always valid and flexible at the same time. Even over a slow modem line, it can operate remote systems thousands of kilometers away.

4. Thinking about Linux with Unix thinking

Since Linux is designed with reference to the ideas of Unix, understanding and mastering it must be done in the way of Unix, not Windows. It is undeniable that a large part of the success of windows in the market lies in the uniqueness of technical thinking. However, this innovation is carried out on the premise of facing individual users, and facing enterprise-level service applications, it is still somewhat powerless. Over the years, the two have dominated the field of computer operating systems: Unix in the field of servers and Windows in the field of individual users. It can be seen that user needs determine the operating system used. Whatever the reason, if you want to learn Linux, you first need to drag your mind out of the Windows "stream" and into the Unix ocean.

Five, learn shell

For Shell (Chinese name shell), readers who are used to Windows must be very unfamiliar, because Windows has only one "Shell" (if it can be said to be Shell), that is Windows itself. An easy-to-understand explanation in one sentence is that the shell is the intermediary between the commands entered by the user and the commands interpreted by the system. In the most intuitive way, a shell has its own set of commands. To give an easy-to-understand example, the standard Shell of Linux is Bash Shell; the shell of Solaris is B shell; the Shell of Linux is expressed in the form of command line. Readers may not understand that Windows has "evolved" from the command line to a graphical interface, so isn't it a step backward for Linux to still use the command line?

I had this idea when I was new to Linux. However, it was later discovered that if a graphical interface is used, less resources are allocated to the application software, and it is very important to be able to achieve the same function with a lower hardware configuration on an expensive server.

The following example shows that a server has 1GB of memory, assuming that 512MB of it is used to process the graphical interface, if you want to install a database software that requires 784MB of memory, the only way is to expand the memory. But if you use the command line, the system may only need 64MB of memory, and other memory can be used by the database software. Using the command line, not only the memory, but also the occupation of resources such as CPU and hard disk should be saved a lot. So, using the command line as a server is an advantage rather than a disadvantage. Since Shell has so many advantages, it must be learned.

After reading the above content, I believe you have a deeper understanding of Linux. As a Linux enthusiast, if you encounter confusion and need to communicate during your learning, you can come to our website ( http://www.magedu.com/ ) for help, and to learn about the industry's highest rated Linux courses, you can call: 18519746220 .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324536315&siteId=291194637