Linux learning method sharing

Publisher:备战Latest update time:2019-11-20 Source: 51heiKeywords:Linux Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

With the expansion of Linux applications, many people have come into contact with Linux. For those who have just come into contact with Linux, they don't know where to start. The following is a Linux system administrator who has read many documents and books about Linux and made a lot of hard efforts to learn Linux. After he really got a formal Linux system management job, he had a deeper understanding of the soul of Linux: service and multi-user. Linux system knowledge is very extensive, but as long as you master the key knowledge, managing it is not as terrible as imagined. In the following, he will systematically introduce to you some of his work experience and summarized experience as a system administrator.


1. Purpose of Learning

Needless to say, the purpose of mastering UNIX through learning Linux is that in this era when the value of network talents has doubled, it is unwise to rely on technology for a living without mastering network and programming technology. When a person hears about Linux for the first time and is eager to try it, he will always ask a few questions: What is it (What)? Why use it (Why)? How to learn it (How)? As a major component of the open source movement, Linux is used more and more widely, from our daily entertainment and learning to business, government offices, and large-scale computing applications. In order to meet people's needs, various Linux-based application software have emerged in an endless stream. As long as you have the basic skills of Linux and the ability to self-study, you can master the specialized content through long-term learning.

2. Start with commands and start with the basics

Often, some friends want to build a website as soon as they get in touch with Linux, without even thinking about understanding the basics of Linux first. This is quite difficult. Although Linux desktop applications are developing rapidly, commands still have a strong vitality in Linux. Linux is an operating system composed of command lines, and the essence is in the command line. No matter how the graphical interface develops, this principle will not change. Linux commands have many powerful functions: from simple disk operations and file access to complex multimedia image and streaming media file production. Here the author divides the more important and frequently used commands into several parts according to their roles in the system and introduces them to you. 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

3. Choose a good Linux book

In some Linux forums, the most common questions we see are often from a novice who starts asking questions when he encounters a problem during the installation or use of Linux. Many of them are repetitive questions, and many people don’t even have a clear description of the basic problem. This shows that many people who are new to Linux have not yet mastered the basic skills. How can we quickly improve our basic skills in Linux? The most effective way is to study authoritative Linux reference books, which are very important for learners. A reference book with wrong concepts can lead novices astray. There are many books about Linux in China, but there are not many high-quality ones. It is best for novices to buy a paper book to study carefully and take notes carefully.

4. Develop the habit of working on the command line

You must develop the habit of working in the command line. You must know that X-window is just an application running in command line mode. Although the progress of learning in the command line is slow at first, once you are familiar with it, your future learning will increase exponentially. For network administrators, the command line is actually a rule, it is always valid and also

Flexible. Even through a slow modem line, it can operate remote systems thousands of kilometers away.

5. Think about Linux with Unix thinking

Since Linux is designed with reference to the ideas of Unix, to understand and master it, one must think in Unix terms, not in Windows terms. It is undeniable that a large part of Windows' success in the market lies in the uniqueness of its technical ideas. However, this innovation was carried out under the premise of facing individual users, and it is still somewhat powerless in the face of enterprise-level service applications. For many years in the field of computer operating systems, there have always been two dominant players: Unix in the server field, and Windows in the field of individual users. It can be seen that user needs determine the operating system used. No matter what the reason, if you want to learn Linux, you must first drag your thinking out of the "little river" of Windows and put it into the ocean of Unix.

6. Learn shell

People who are used to Windows must be very unfamiliar with Shell (Chinese name Shell), because Windows has only one "Shell" (if it can be called Shell), that is Windows itself. The easy-to-understand explanation in one sentence is that Shell is the intermediary between the user input command and the system interpretation of the command. The most intuitive way to say it is that 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 the graphical interface, so isn't it a step backward for Linux to still use the command line?

I had this idea when I first came into contact with Linux. But later I found that if the graphical interface is used, then the resources allocated to the application software will be less. On an expensive server, it is very important to be able to achieve the same function with a lower hardware configuration. 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 the command line is used, the system may only need 64MB of memory, and the rest of the memory can be used by the database software. Using the command line not only saves memory, but also saves a lot of CPU and hard disk resources. Therefore, using the command line as a server is an advantage rather than a disadvantage. Since Shell has so many advantages, you must learn it.

Keywords:Linux Reference address:Linux learning method sharing

Previous article:Notes and experience of learning embedded Linux
Next article:Explain to you several situations of ARM abnormal interrupt return

Recommended ReadingLatest update time:2024-11-23 01:58

Driver design of touch screen in Linux input subsystem based on kernel object
    As people's requirements for control continue to increase, capacitive touch screens are widely used because they can support multi-touch. Based on the open source operating system MeeGo developed by Nokia and Intel, this paper uses the Linux input subsystem based on kernel objects to design a touch screen driver.
[Microcontroller]
Driver design of touch screen in Linux input subsystem based on kernel object
Linux breaks 3% PC market share for first time 30 years after launch
The PC market is dominated by the Windows operating system. Most business applications run the Windows operating system, although there are alternatives. However, Linux users often dream of the arrival of the "Year of Desktop Linux", hoping that one day, Linux will begin to dominate the PC market and begin large-scale
[Embedded]
Linux breaks 3% PC market share for first time 30 years after launch
Linux-2.6.32.2 kernel transplantation on mini2440 (XIV) --- transplantation of watchdog driver
Migration environment  1. Host environment: CentOS 5.5 under VMare, 1G memory. 2. Integrated development environment: Eclipse IDE 3. Compilation environment: arm-linux-gcc v4.4.3, arm-none-linux-gnueabi-gcc v4.5.1. 4. Development board: mini2440, 2M nor flash, 128M nand flash. 5.u-boot version: u-boot-2009.08 6. Linux
[Microcontroller]
Design of extended serial port based on S3C2440 and embedded Linux
With the widespread use of fieldbus and other technologies, serial communication is increasingly used in various occasions. In centralized control systems, communication is required between multiple serial ports, but on general computers, there are only 1 to 3 serial ports. In order to achieve multi-point control, the
[Power Management]
Design of extended serial port based on S3C2440 and embedded Linux
Design of embedded infrared thermal imaging system based on Linux
System structure design This system uses an infrared focal plane array detector to send the infrared image to the infrared image acquisition module and complete the analog-to-digital conversion. The converted digital signal is sent to the image correction module for non-uniform correction, temperature measurement an
[Microcontroller]
Design of embedded infrared thermal imaging system based on Linux
A simple input subsystem program for Linux driver
In the brief analysis of the input subsystem of the Linux driver, we have analyzed the composition of the input subsystem. It is composed of the device layer, the core layer, and the event layer. The core layer provides some functions common to the device layer and the event layer, such as registration functions, un
[Microcontroller]
A simple input subsystem program for Linux driver
Design of MAX1303 interface and driver based on ARM-Linux
Abstract: Aiming at the application requirements of data acquisition and processing system, the hardware interface and driver of ARM9 processor LPC3250 embedded in Linux and 16-bit AD sampling chip MAX1303 are designed. Firstly, the performance, characteristics and hardware interface circuit design of LPC3250 and MAX1
[Microcontroller]
Design of MAX1303 interface and driver based on ARM-Linux
ARM+Linux represents the future trend of embedded systems
Introduction: "Because ARM is the world's largest IP licensing company, all chip companies in the mobile phone field are based on ARM architecture, so we need to let people in the market and industry know about ARM's latest technology." James Bruce of ARM said. Not long ago, he just attended the 2009 (3rd) Mobile Inte
[Microcontroller]
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号