Linux Big Head, Bang Bang Bang

Source: Internet
Author: User

Encounter Web site can not open, people confused, and then a variety of query data, to find the problem may be related to the server, so connected to the Linux server, began a bitter journey.

In fact, basically some simple Linux commands, for my little touch of Linux small white, how much abuse. First, the command line DF-HL view hard disk space details, query to the available memory is 16m, has used 100%. So for the time being classified as a lack of hard disk space caused by the problem. Here are some of the relevant Linux commands, make your own notes for later viewing.

Cl.. = "View hard disk space folder;

CL Alidata + = view the appropriate folder;

Du-sh/* = "View the size of each folder in the current directory;

Cd.. = "Return to the previous level of the directory;

RM-RF = "Delete the folder or directory;

Du-h = "The size of the sub-directory of the current file, respectively;

Shutdown-r now = restart immediately;

Through one hours of exploration, finally the problem is located in the folder log logs, accounting for 70% of the space, and then use the command to delete log logs, and restart the server, the site can be normal access.

Linux Big Head, Bang Bang Bang

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.