How can I crash my Linux?

Source: Internet
Author: User
How can I crash my Linux? -- Linux general technology-Linux technology and application information. For details, refer to the following section. As a root user, you can do anything, including accelerating system crashes. If you really want to crash the system, try:

Cp/dev/zero/dev/mem

As a root user, you can even use a simple command to delete all your files (never try it !)

Rm? Fr/

This does not mean that Linux is prone to crashes, but that the system administrator (root) has unlimited power over the system. Similar to Microsoft Windows, you can drop some files in the c: \ Windows or c: \ Windows \ System directory to paralyze the entire System. The most important difference between Linux's stability is that common users and system administrator users are completely separated. Common users can only operate their own files. Similarly, no matter what major errors the program has, the programs run by the user can only affect their own regions. The separation of "Administrator" and "common user" accounts makes the system complex and Linux a real multi-user operating system. This is totally different from the old version of Microsoft Windows. In Microsoft's latest version of Windows, Microsoft has begun to adopt Unix. As an old saying goes: "Those who do not know UNIX are destined to re-invent it ".

Conclusion: Do not use the root user for daily work. Add an ordinary user account for daily management. Use this account to perform experiments on Linux. The following figure shows how to implement it:

Adduser johnbrown
Passwd johnbrown

[Enter a long and carefully selected password with a number in the middle]

[Enter the same password again]

Exit

Then log on again as johnbrown's user.

The root account is only used for management and system settings. I will never use the root account to run any programs that I don't know very well. At least, it will not be used on the computer that is prepared for practical work. I mean it.

My learning process is as follows:

1. install Linux

2. perform experiments (root or non-root) to do interesting things and set things to disorder. I want to know what the system will do ?? Only in this way can I really understand what I am doing)

3. Delete the system

4. Unless I don't have time (it seems that time is always not enough), I will go back to step 2 and continue Linux once it is installed on reliable hardware ?? In command line mode, Linux is surprisingly stable-it can run for several months or even years! As a newbie, you will find many strange things to pass your time due to the random operations of the root user or the abuse of hardware.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.