Hacker White Paper: How to Become a hacker (with FAQs)
Source: Internet
Author: User
Hacker White Paper: How to Become a hacker (with FAQ)-Linux general technology-Linux programming and kernel information, the following is a detailed description. Overview
Why is there this document?
What is a hacker?
Hacker's attitude
Basic hacker skills
Position in hacker culture
Connection between hackers and Nerd
Significance of style
Other resources
FAQ (Frequently Asked Questions)
As an editor of Jargon File and author of some other famous similar articles, I often receive emails from enthusiastic online beginners (indeed) "How can I become a good hacker?" It is very strange that there seems to be no FAQ or Web documents to illustrate this very important issue, so I wrote a copy.
If you are currently reading offline copies of this document, please note that the latest version (English version) in http://www.tuxedo.org /~ The hacker-howto.html can be obtained.
Note: At the end of this document, there are FAQs (Frequently Asked Questions ). Please read this document twice before giving me any questions.
At present, this document has many translated versions: polygalic, simplified Chinese, traditional Chinese, Danish, Dutch, French, German, Hungarian, Indonesian, Japanese, Korean, Portuguese, Russian and Swedish. Note that this document has been revised, so the translation versions above may be outdated to varying degrees.
What is a hacker?
Jargon File contains a lot of definitions about the term "hacker", most of which are related to superb technology and willingness to solve problems and surpass the limit. But if you only want to know how to be a hacker, there are only two things that are related.
This can be traced back to the birth of the first time-sharing mini computer decades ago, and the ARPAnet experiment was just launched. At that time, there was a program design expert and a network celebrity, cultural Communities with sharing characteristics. Members of this culture have created the term "hacker. Hackers have established the Internet. Hackers have invented the current UNIX operating system. Hackers make Usenet work, and hackers make WWW work. If you are part of this culture, if you contribute to this culture, and other members of this community know you and call you a hacker, then you are a hacker.
The hacker spirit is not limited to the hacker culture of software. Someone treats other things with hackers' attitudes, such as electronics and music-in fact, you can discover it at any level of scientific and artistic activity. Software-savvy hackers appreciate these similar products in other fields and call them hackers-some people claim that hackers are absolutely independent of the specific areas in which they work. However, in this document, we focus on the technology and attitude of software hackers and the cultural traditions that feature sharing that invented the term "hacker.
A group of people shouted that they were hackers, but they were not. They (mostly young teenagers) are people who deliberately damage computer and telephone systems. Hackers call these people "cracker" and do not bother with it. Most real hackers think that hackers are too lazy and irresponsible to do anything. The behavior specifically aimed at undermining others' security does not make you a hacker, just as stealing a car with wire does not make you a car engineer. Unfortunately, many journalists and writers often mistakenly treat "hackers" as hackers, which have always annoyed real hackers.
The fundamental difference is that hackers are engaged in construction and hacking.
If you want to be a hacker, read it. If you want to be a hacker, read the alt.2600 newsgroup, and realize that you are not as smart as you think, then go to five to ten jail times. I just want to say so much about hackers.
Hacker's attitude
Hackers solve problems and build things, while advocating free and selfless two-way help. If you want to be recognized as a hacker by others, your behaviors seem to show that you have such an attitude. If you want to do a good job like you have such an attitude, you have to stick to it.
However, if you think that cultivating hacker attitudes is only a way to be recognized in the hacker culture circle, it would be a big mistake. Being a person with these qualities is very important to you-it helps you learn and provides you with continuous motivation. Like all creative art, the most effective way to become a master is to imitate the spirit of the master-not only in intelligence, but also in emotion.
Perhaps, the following modern Zen Poems explain this meaning well:
To follow the path :( follow this path :)
Look to the master ,)
Follow the master, (follow master ,)
Walk with the master, (pass with the master ,)
See through the master, (Insight master ,)
Become the master. (become a master .)
Well, if you want to be a hacker, read the following things until you believe them:
1. The world is full of fascinating issues to be resolved.
Being a hacker has a lot of fun, but it takes a lot of effort to get fun. These efforts require motivation. Successful athletes get motivation from the pleasure of exercising and exceeding their limits. Similarly, as a hacker, you have to have basic fun solving problems, honing your skills, and exercising your intelligence.
If you are not a natural hacker and want to be a hacker, you must try to become such a hacker. Otherwise, you will find that your hackers' enthusiasm will be swallowed up by other distracting things, such as money, sex, and social virtual names.
(Similarly, you must build confidence in your own learning abilities-believe that, even if you have almost no idea about a problem, as long as you experiment and study at 1.1 points, you will eventually master and solve it .)
2. A problem should not be solved twice.
Smart heads are precious and limited resources. When the world is still filled with a lot of interesting new problems to be solved, they should not be wasted on re-inventing things like wheel.
As a hacker, you must believe that the time for other hackers to think is precious. Therefore, sharing information, solving problems, and publishing results to other hackers is almost moral, in this way, other people can solve new problems rather than constantly dealing with old problems.
(You do not have to think that all your inventions and creations must be published, but the hackers who do so are the ones who win everyone's respect. Selling money to support your family, renting a house, buying a computer, or even making a fortune is also compatible with hacking values, as long as you don't forget you are a hacker .)
3. Boring and boring work is evil.
Hackers (generally creative people) should never be troubled by stupid repetitive labor, because when this happens, it means they are not doing what they can only do-to solve new problems. This waste hurts everyone. Therefore, boring and boring work is not only uncomfortable, but also evil.
As a hacker, you must firmly believe this and automate as much boring work as possible, not only for yourself, but also for others (especially other hackers ).
(This is an obvious exception. Hackers sometimes do repetitive or boring work in the eyes of others for "mental rest", or to acquire certain skills or special experience that is not otherwise available. But this is voluntary-people with brains should not be forced to do boring work .)
4. Long live freedom.
Hackers are born Anti-authoritarian. Anyone who can send commands to you can force you to stop solving the problems you are fascinated by. At the same time, according to the general idea of the dictatorship, he usually gives some extreme ignorance reasons. Therefore, wherever it is, any authoritarian practice, as long as it oppress you and other hackers, you will fight against it to the end.
(This is not a challenge to all authorities. Children need to be monitored and criminals need to be taken care. If the command is executed to get something that saves more time than other methods, hackers can agree to accept some form of authority. However, this is a limited and intentional transaction. The kind of obedience that the Authority wants is not what you should agree .)
The Authority prefers review and confidentiality. They do not trust voluntary cooperation and information sharing-they only like the so-called "cooperation" controlled by them ". Therefore, as a hacker, you have to have an instinctive hostility towards censorship, confidentiality, and the use of force or deception to oppress people with the ability to do so. At the same time, you must be willing to fight for this belief.
5. Attitudes cannot replace abilities.
As a hacker, you must cultivate these attitudes. But with these attitudes alone, you cannot be either a hacker or a sports player or rock star. Being a hacker requires intelligence, practice, dedication, and hard work.
Therefore, you must learn to doubt and respect all kinds of abilities. Hackers will not waste their time on modeling people, but they are very respectful of capabilities-especially the ability to engage in hacker work, but all of them are good. It is especially good to have the abilities that few people can possess. Of course, it is best to have the abilities that involve mental power, skills, and focus.
Dear ability, you will enjoy the pleasure of improving your abilities-hard work and dedication will become a high degree of entertainment rather than a hard job. It is important to become a hacker.
Basic hacker skills
Hacker attitude is important, but technology is more important. Attitude cannot replace technology. Before you are called a hacker by other hackers, you must master some basic technologies.
These basic technologies are slowly changing with the emergence of new technologies and the expiry of old technologies. For example, in the past, the content included programming in machine language, and HTML was not included until recently. In general, the following technologies are mainly involved:
1. Learn how to program.
This is of course the most basic hacker skill. If you do not have any programming languages, I suggest you start with Python. It has clear design and complete documentation, and is suitable for beginners. It is a good entry language and not just a toy. It is very powerful, flexible, and suitable for large-scale projects. I have a Python review to describe this in detail. A good tutorial can be found on the Python website. A good Chinese Python site may be http://pythonrecord.51.net .)
Java is also a good entry language. It is much harder to use than Python, but the generated code is much faster. It is also an excellent computer language, not just for entry.
However, if you only use one or two languages, you will not be able to meet the technical level required by hackers, it cannot even reach the level of a programmer-you need to learn how to think about programming problems in an abstract way, independent of any language. To be a real hacker, you need to learn to use some manuals within a few days to quickly master a new language based on what you know. This means you should learn several completely different languages.
If you want to do some important programming work, you will have to learn the C language and Unix core language. C ++ is very similar to C. If you know one of them, it is not difficult to learn the other. However, these two types are not suitable for Programming beginners. In fact, the more you avoid using C programming, the more efficient you will be.
C is very efficient and saves your machine resources. Unfortunately, the efficiency of C is achieved by manually doing a lot of underlying management (such as memory. The underlying code is complex and prone to bugs, which will make you spend a lot of time debugging. Today's machines are so fast, which is usually not worth the candle-it is wise to use a language that is slow and inefficient, but significantly saves your time. Therefore, select Python.
Other important languages for hackers include Perl and LISP. Perl is practical and worth learning. It is widely used in dynamic web pages and system management. Therefore, even if you never use Perl to write programs, you should at least learn it. Many people use Perl for the same reason as I suggest you use Python, to avoid using C to do jobs that do not require C efficiency. You will need to understand the code of those jobs.
The reason for learning LISP is different-you will get a wealth of inspiration and experience when you finally master it. These experiences will make you a better programmer in the days to come, even if you rarely use LISP itself.
Of course, in fact, you 'd better use five types (Python, Java, C/C ++, Perl, and LISP ). Apart from being the most important hacker language, they also represent completely different programming ideas and methods, each of which will benefit you a lot.
Here I cannot give you complete guidance on how to program-this is a complex skill. But I can tell you that books and classes cannot be done either (many of the best hackers may be self-taught ). You can learn the characteristics of language from books-just a little bit, but to make written knowledge into your own skills, you can only learn from others through practice and modestly. Therefore, you must perform (1) read the code and (2) write the code.
Learning how to program is just like learning to write in beautiful natural languages. The best practice is to read some famous masters and try to write something by yourself. Then, read something, then read something, and then write something ...... So forth until your article reaches the conciseness and strength of the model you have experienced.
In the past, it was difficult to find the code suitable for reading, because there was almost no source code for large programs that could allow beginners to practice. This situation has changed dramatically; open source software, programming tools, and operating systems (all written by hackers) are now everywhere. Let's continue to discuss in the next topic ......
2. Get an open-source Unix and learn to use and run it.
I suppose you already have or can use a PC (today's children are so happy :-)). The most basic step for beginners to learn hacking skills is to get a Linux or BSD-Unix package, install it on a PC, and run it.
Yes, there are other operating systems in the world except Unix. But they are all released in binary form-you cannot read its source code or modify it. Trying to learn hacker technology on a computer running DOS, Windows, or MacOS is like dancing with your feet.
In addition, Unix is an Internet Operating System. You can learn to access the Internet without knowing Unix, but you cannot become an Internet hacker without knowing Unix. Therefore, today's hacker culture is largely Unix-centric. (This is not always true. Some long-time hackers have been unhappy with this, but the connection between Unix and the Internet is so strong that even Microsoft is helpless .)
Therefore, install a set of UNIX-I personally like LINUX but there are other types (yes, you can install Linux and DOS/Windows on the same computer at the same time ). Learn it, use it, and configure it. Use it to surf the Internet. Read its source code. Modify its source code. You will get better programming tools (including C, LISP, Python, and Perl) than Microsoft operating systems ). You will feel a lot of fun and learn more than you can realize before you become a master.
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