首頁  >  文章  >  系統教程  >  Linux的學習技巧

Linux的學習技巧

王林
王林原創
2024-07-18 07:02:11588瀏覽

Linux的學習技巧

但是近年來Linux已經越來越受到重用,它不再僅僅是一些開源發燒友們之間炫耀資本,而且已經在多方面價值得到了體現,尤其在服務器操作系統方面,已經成為資深運維工程師的首選的操作工具。

隨著電腦產業的快速發展,相信Linux作業系統將不僅僅只停留在平台應用上,他將會在更廣的空間展現他那獨有的優勢與魅力。

現在對於大多數中國的電腦用戶,很少有人自己用Linux作業系統的,而且還有相當一部分人甚至是第一次聽說Linux。但這並不奇怪,即使在許多大學生眼中也大都是如此。在你們眼裡只有Windows,只有微軟,比爾蓋茲是你們大多數人的偶像。那是微軟先入為主的觀念造成的,就如我們學習英語一樣,如過我們生下來就用英語講話,周圍的人說的也都是英語,那麼英語也就自然而然的學會了。而且像漢語一樣受我們喜歡。

有資深Linux用戶就吐槽了:連Linux都學不會,智商真低!

有程式設計師哥哥說:公開場合不要去扯智商,有歧視之嫌。但都是搞技術,你智商咋樣,瞞不過別人的眼睛。
看看你的程式碼就知道,跟語言無關。

有Linux用戶說:因為有太多的人寫兩行腳本配置下系統就以為掌握了linux,
還有太多的人寫智慧指標就以為自己掌握了c++。
就是這樣。

Java大咖問:跑個題,敢問什麼叫掌握linux?

Linux本質上是學習工具的使用,其實核心與智商無關,林子大了,什麼樣的人都有。不過既然如此迅猛發展的今天掌握Linux成為必要,那麼我們專門為大家收集了一些學習linux的經驗,希望對大家有所幫助。

1.破釜沉舟忘掉Windows的思考方式

筆者也看過很多有關學習Linux的方法,第一部分基本上都是告訴你怎麼安裝雙系統,怎麼便利學習。我也是如此,在自己桌上型電腦上安裝了雙系統,但是學習效果並不明顯,百思不得其解,一次看到破釜沉舟的故事頗有啟發,項羽前鋒軍救鉅鹿,初戰少利,項羽便率大軍渡過漳河,破釜沉舟以激厲士氣。終於殺蘇角,虜王離,大敗秦軍於鉅鹿之野。 楚霸王當初能夠戰勝並不是說他佔了多麼有利的優勢,而是他那一往無前,義無反顧的決心。

當裝了雙系統以後,只要遇到一些問題,就會快速切換到Windows操作系統來查資料,這樣雖然便利了我們學習,但是我們的大腦卻對問題缺少了思考,基本上都是去百度知道,問問什麼的查,雖然當時解決問題了,但是過後在回憶當時是怎麼解決問題的,腦海卻是一片空白。我們裝的雙系統為自己帶來便利的同時也給自己找了太多的藉口,到頭來卻沒了學習下去的勇氣。
所以後來我把我自己的電腦只安裝了Linux作業系統,做什麼都從上面去做,逼迫自己學安裝瀏覽器,播放器,文檔編輯器,等自己一步步的走過來,才發現,有的時候不是我們沒能力去辦好一件事,而是我們再沒辦事之前就給自己想好了各種退路。徹底忘記Windows思維方式,在一個只有Linux作業系統環境下生活。

如果你想系統的學習Linux,你必需清楚的認識到這一點。如果你真正想系統的學習linux,想用Linux有所作為,那麼請忘記Windows的思維方式,思想性的轉變比暫時性的技術提高更有用, 而思想上的改變往往是受到我們行動所影響的,有不懂的問題就自己思考,查資料, 實在不會再去找別人的電腦去查,這樣就加深了我每次對問題的理解,慢慢感受和習慣Linux的操作方式,總有一天你會真正體驗到他的奧妙所在,從而從自己內心深處喜歡他,使用他,而不是為了趕時髦或向人炫耀而使用他。

2.學習有三要眼要精、筆要動、手要勤

a.多看一些學習Linux方面的書。要抓住精髓,不要貪多嚼不爛。
b.多做筆記,好記性不如爛筆頭。
c.實踐出真知。很多時候我們都是嘴巴功夫,而到了真正自己搭建的時候就會發現自己其實一無所知。

3.學習用心學習Linux不是逛自由市場

常常看到有人問用什麼版本的Linux好,其實只要你認真學習無論什麼版本都挺好的。要知道,開發Linux發行版的人都是通讀過Linux核心程式碼,對Linux原理極為精通的人,而且每一個開發團隊都對他的發行版做過測試後放出的。那些國際知名的大品牌更是如此。

因此,討論什麼版本好並無意義,關鍵是你是不是真心想學。不過,為了避免曲高和寡,最好選用的人多的版本,例如RedHat CentOS等等。學習Linux不是逛自由市場,選定版本就要靜下心來學習。不要今天換版本明天要升級。這樣對你沒有好處。例如有些人號稱用過十幾種甚至幾十種Linux,向人談論起來頭頭是到,好像懂的很多,但是如果你讓他去用Linux搭建一個Web伺服器,他就什麼都不會了。他們把時間都浪費在了版本的轉換上了。

4.學習不能盲目多用自帶的系統文件解決問題

說到這,我還是有點兒底氣不足,因為我自己的英文很差。不過,只要熟悉了電腦專業英語,高中畢業的程度就可以輕鬆的閱讀電腦文件了。如果你的英文實在太差了,連最簡單的電腦英文文件都看不懂,那麼在學習Linux的同時,請趕緊學習英文。也許你說,你可以看翻譯的文檔,當我還是一個菜菜鳥的時候,也是這樣認為的。

但是,後來才發現,如果你想深入學習Linux,看不懂英文文檔實在是太難了。寫的最好的,最全面的文檔都是英文寫的,最先發布的技術資訊也都是用英文寫的。即便是非英語國家的人發布技術文檔,也都先翻譯成英文在國際學術雜誌和網路上發表。你去看看各大軟硬體生產商的官方網站,有哪一個不是用英語作為其主站的?長期用Windows的人會很不習慣這一點,裝個軟體還要看半天文檔,因為Windows用起來實在太簡單了。但是如果你想學習Linux就必須學會看各種文檔,而大部分的文檔都是用英文寫的。

現很多人甚至連man文檔都不會看,有什麼命令不會用了就跑到論壇上來問,還裝出一副可憐相,乞討一個命令的用法。有這些時間還不如自己看看man文檔,即使你一個一個單字的翻譯成中文再自己看都比問別人強,因為別人的回答再怎麼詳盡都比不上man文檔詳盡。安裝新的軟體時先看Readme,再看Install然後看FAQ,最後才動手安裝,這樣遇到問題就知道為什麼。否則,表示文檔都不看,結果出了問題再來找答案反而浪費時間! 古人說欲速則不達就是這個道理!

5.學習要刻苦多記Linux指令

After a period of study, you should expand your knowledge and learn more Linux commands. However, do not systematically learn Linux commands in the beginner stage. In the beginner stage, you only need to master the commands you learned in class. Marco Linux believes: “It is impossible to become a master by simply learning various commands, but it is also impossible to become a master without knowing commands.”

This is like learning English. You don’t understand any grammar. You can’t learn English by just memorizing words from a word manual, but you can’t improve your English level without vocabulary.

The best way to learn commands in Linux is to learn Shell script programming. Shell scripts are simpler to learn than other languages, but they are very powerful. By learning Shell programming, you can master a large number of Linux commands. In addition, it is necessary to buy a command reference manual. If you encounter a command that you don't know how to use, you can check it at any time. This is faster than checking the man document. It is especially suitable for people who are not good at English and cannot read man documents.

In Linux, commands can be divided into basic system commands and application commands. The basic system commands are commands supported by all Unix-based systems and remain unchanged wherever you go. As long as it is a Unix-based system, they must be there.

6. Learning requires a deep understanding of the Linux system structure and Linux system management

After you have a certain understanding of Linux and know the use of the configuration files under /etc, you can understand the system structure. Understanding the system structure does not require you to see what folders contain what content, but to learn some principle things. For example, how the system boots and what things are started after booting. Which are the most basic library files in the system, what are their uses, etc.

You can then learn more about the management system. For example, learning to configure various network servers and building a network using Linux are all good ways to learn Linux system management and network management. At this stage, you can often check information online and read the articles in the highlight area of ​​the forum. The forum can help you learn some little knowledge and skills.

7. Read a lot of books and take a look at more computer-related professional courses if you have enough time

If you are not a computer major and want to learn Linux well, you must take professional courses. It is necessary to study professional courses such as microcomputer principles, operating systems, computer networks, etc. Why do we start learning Linux at the same time? Some people learn very quickly and become masters in less than half a year, while some people play around and play but still don’t make a name for themselves and are still novices after playing for one or two years? Because those who learn quickly have the basics. , they have all studied professional courses. People with no basic knowledge of the same document may not understand it after reading it three times, but those with a solid foundation will understand it after scanning it twice! This is the difference between professionals and non-professionals! Therefore, if you want to reach a higher level, you must Learn basic professional courses.

8. Attitude determines achievement. Finally, always maintain an open-minded learning attitude

I want to repeat the truth that there is heaven and there are people outside the world! Maintaining an open-minded learning attitude will not only help you learn more knowledge, but also make you respected by others.

以上是Linux的學習技巧的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn