Home  >  Article  >  System Tutorial  >  Linux learning tips

Linux learning tips

王林
王林Original
2024-07-18 07:02:11588browse

Linux learning tips

But in recent years, Linux has become more and more reused. It is no longer just a showoff among some open source enthusiasts, but its value has been reflected in many aspects, especially in server operating systems, and has become a favorite of senior operation and maintenance engineers. The preferred operating tool.

With the rapid development of the computer industry, I believe that the Linux operating system will not only stay in platform applications, it will show its unique advantages and charm in a wider space.

For most Chinese computer users, very few of them use the Linux operating system themselves, and a considerable number of them have even heard of Linux for the first time. But this is not surprising, even in the eyes of many college students. In your eyes, there is only Windows, only Microsoft, and Bill Gates is the idol of most of you. That is caused by Microsoft's preconceived notions. Just like when we learn English, if we are born speaking in English and the people around us also speak English, then English will be learned naturally. And it is as popular with us as Chinese.

Some senior Linux users complained: I can’t even learn Linux, my IQ is really low!

A programmer brother said: Don’t talk about IQ in public, it is suspected of discrimination. But it’s all about technology, and your IQ cannot be hidden from other people’s eyes.
Just look at your code and you will know that it has nothing to do with language.

Some Linux users said: Because too many people think they have mastered Linux by writing two lines of scripts to configure the system,
There are still too many people who think they have mastered C++ by writing a smart pointer.
That's it.

Java expert asked: Let me ask you a question, what is mastering Linux?

Linux is essentially about the use of learning tools. In fact, the core has nothing to do with IQ. The forest is big, and there are all kinds of people. However, since it has become necessary to master Linux with such rapid development, we have specially collected some experiences in learning Linux for everyone, hoping to be helpful to everyone.

1. Don’t forget about the Windows way of thinking

The author has also seen many methods of learning Linux. The first part basically tells you how to install dual systems and how to facilitate learning. The same is true for me. I installed dual systems on my desktop computer, but the learning effect is not obvious. I am puzzled. I once saw the story of the burning cauldron and the sinking of the boat. It was quite inspiring. Xiang Yu's forward army rescued a giant deer. In the first battle, Xiang Yu led the way. The army crossed the Zhang River and burned cauldrons and boats to boost morale. Finally, Su Jiao was killed, Wang Li was captured, and the Qin army was defeated in the wilderness of Julu. King Chu Ba was able to defeat not because of the advantage he had, but because of his determination to move forward without hesitation.

After installing dual systems, whenever we encounter some problems, we will quickly switch to the Windows operating system to look up information. Although this facilitates our study, our brains lack thinking about the problems and basically go to Baidu to find out. , asked questions, and even though the problem was solved at the time, when I recalled how I solved the problem later, my mind went blank. The dual systems we installed brought convenience to ourselves, but also gave ourselves too many excuses. In the end, we lost the courage to continue learning.
So later, I only installed the Linux operating system on my own computer, and I did everything from it. I forced myself to learn to install browsers, players, and document editors. As I walked through it step by step, I discovered that some The problem is not that we are incapable of doing something well, but that we have thought of various escape routes for ourselves before we do it. Completely forget the Windows way of thinking and live in an environment with only Linux operating system.

If you want to learn Linux systematically, you must clearly understand this. If you really want to learn Linux systematically and make a difference with Linux, then please forget the Windows way of thinking. Ideological changes are more useful than temporary technical improvements, and ideological changes are often affected by our actions. If I have something I don’t understand, I just think about it myself and check the information. I really don’t go to other people’s computers to check it. This deepens my understanding of the problem every time, and I slowly feel and get used to the operating method of Linux. One day you will You will truly experience his mystery, and thus like him from the bottom of your heart and use him, rather than using him just to follow fashion or show off to others.

2. There are three important things in learning: the eye must be sharp, the pen must be active, and the hands must be diligent

a. Read more books on learning Linux. Capture the essence and don’t bite off more than you can chew.
b. Take more notes. A good memory is not as good as a bad pen.
c. Practice brings true knowledge. Many times we pay lip service, but when we actually build it ourselves, we find that we actually know nothing.

3. You must study hard. Learning Linux is not a free market.

I often see people asking which version of Linux is better to use. In fact, as long as you study hard, any version will be fine. You must know that the people who develop Linux distributions are people who have read through the Linux kernel code and are extremely proficient in Linux principles, and each development team has tested its distribution before releasing it. This is especially true for internationally renowned brands.

Therefore, it is meaningless to discuss which version is better. The key is whether you really want to learn. However, in order to avoid being too high-minded, it is best to choose a version that has a lot of users, such as RedHat CentOS and so on. Learning Linux is not about visiting the free market. When you choose a version, you have to calm down and learn. Don’t change versions today and upgrade tomorrow. This will do you no good. For example, some people claim to have used more than a dozen or even dozens of types of Linux. When talking about it to others, they seem to know a lot. However, if you ask them to build a Web server using Linux, they will know nothing. They waste time on version conversion.

4. Learn not to blindly use the system documentation that comes with you to solve problems

Speaking of this, I am still a little unsure because my English is very poor. However, as long as you are familiar with computer professional English, you can easily read computer documents at the level of a high school graduate. If your English is so poor that you can't even understand the simplest computer English documents, then while learning Linux, please learn English quickly. Maybe you said that you can read the translated documents. When I was a newbie, I thought so too.

However, I later discovered that if you want to learn Linux in depth, it is too difficult to understand the English documentation. The best and most comprehensive documentation is written in English, and the first technical information released is also in English. Even when people from non-English speaking countries publish technical documents, they are first translated into English and published in international academic magazines and on the Internet. Go look at the official websites of major software and hardware manufacturers. Which one does not use English as its main website? People who have used Windows for a long time will not be used to this. It takes a long time to read the documentation to install the software, because Windows uses It looks so simple. But if you want to learn Linux, you must learn to read various documents, and most of the documents are written in English.

Nowadays, many people don’t even know how to read the man document. If they don’t know how to use a command, they go to the forum to ask. They also pretend to be pitiful and beg for the usage of a command. If you have this time, it is better to read the man document yourself. Even if you translate the words into Chinese one by one and read it yourself, it is better than asking others, because no matter how detailed the answers of others are, they cannot be as detailed as the man document. When installing a new software, read the Readme first, then Install, then the FAQ, and finally install it, so that you will know why if you encounter problems. Otherwise, you won’t even read the documentation, and it will be a waste of time to look for answers when something goes wrong! The ancients said that haste makes waste!

5. Study hard and remember Linux commands

일정 기간 학습 후에는 지식을 확장하고 Linux 명령을 더 많이 배워야 합니다. 그러나 초급 단계에서는 Linux 명령을 체계적으로 배우지 말고 수업에서 배운 명령만 마스터하면 됩니다. Ma Gelinux는 "단순히 다양한 명령어를 익히는 것만으로는 마스터가 될 수 없지만, 명령어를 모르고 마스터가 되는 것도 불가능하다"고 믿습니다.

이것은 영어를 배우는 것과 같습니다. 문법을 전혀 이해하지 못하는 것과 같습니다. 어휘 매뉴얼에 있는 단어를 암기하는 것만으로는 영어를 배울 수 없지만, 어휘가 없으면 영어 수준이 향상될 수 없습니다.

Linux에서 명령을 배우는 가장 좋은 방법은 쉘 스크립트 프로그래밍을 배우는 것입니다. 쉘 스크립트는 다른 언어보다 배우기 쉽지만 매우 강력합니다. 쉘 프로그래밍을 배우면 수많은 Linux 명령을 마스터할 수 있습니다. 또한, 사용법을 모르는 명령어를 만나면 언제든지 매뉴얼을 확인하는 것보다 명령어 참조 매뉴얼을 구입하는 것이 필요하다. 특히 영어에 능숙하지 않고 man 문서를 읽을 수 없는 사람들에게 적합합니다.

리눅스에서 명령은 기본 시스템 명령과 응용 명령으로 나눌 수 있습니다. 기본 시스템 명령은 모든 Unix 기반 시스템에서 지원되는 명령이며 Unix 기반 시스템인 한 어디를 가든 변경되지 않습니다.

6. 학습하려면 Linux 시스템 구조와 Linux 시스템 관리에 대한 깊은 이해가 필요합니다

Linux에 대해 어느 정도 이해하고 /etc 아래의 구성 파일 사용법을 알고 나면 시스템 구조를 이해할 수 있습니다. 시스템 구조를 이해하려면 어떤 폴더에 어떤 내용이 포함되어 있는지 확인하는 것이 아니라 몇 가지 원칙을 배워야 합니다. 예를 들어 시스템이 부팅되는 방법과 부팅 후 시작되는 작업이 있습니다. 시스템에서 가장 기본적인 라이브러리 파일은 무엇이며, 그 용도는 무엇입니까?

관리 시스템에 대해 자세히 알아볼 수 있습니다. 예를 들어, 다양한 네트워크 서버 구성 방법을 배우고 Linux를 사용하여 네트워크를 구축하는 것은 모두 Linux 시스템 관리 및 네트워크 관리를 배우는 좋은 방법입니다. 이 단계에서는 종종 온라인으로 정보를 확인하고 포럼의 하이라이트 영역에 있는 기사를 읽을 수 있으며 약간의 지식과 기술을 배우는 데 도움이 될 수 있습니다.

7. 책을 많이 읽고 시간이 충분하다면 컴퓨터 관련 전문 강좌도 더 들어보세요

컴퓨터 전공자가 아니지만 리눅스를 잘 배우고 싶다면 전문 과정을 수강해야 합니다. 마이크로컴퓨터 원리, 운영체제, 컴퓨터 네트워크 등 전문과목을 공부하는 것이 필요하다. 왜 우리는 Linux를 동시에 배우기 시작합니까? 어떤 사람들은 매우 빨리 배우고 반년 안에 마스터가되는 반면 어떤 사람들은 놀고 놀지만 여전히 유명해지지 않고 한두 번 놀아도 여전히 초보자입니다. 빨리 배우는 사람들은 기본이 있기 때문에 모두 전문 과정을 공부했습니다. 같은 문서에 대한 기본 지식이 없는 사람은 세 번 읽어도 이해가 안 될 수 있지만, 기초가 탄탄한 사람은 두 번만 읽어도 이해가 됩니다. 이것이 바로 전문가와 비전문가의 차이입니다! 더 높은 수준에 도달하려면 기본적인 전문 과정을 배워야 합니다.

8. 태도가 성취를 결정합니다. 마지막으로 항상 개방적인 학습 태도를 유지하세요

하늘과 땅이 있고, 세상 밖에도 사람이 있다는 진리를 되새기고 싶습니다! 열린 마음으로 배우는 태도를 유지하는 것은 더 많은 지식을 배우는 데 도움이 될 뿐만 아니라 다른 사람들로부터 존경을 받는 데도 도움이 됩니다.

The above is the detailed content of Linux learning tips. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn