PHP program ape Common Linux commands

Source: Internet
Author: User
Viewing the usage of files in the system df-h//view the size of each file and directory under the current directory Du-sh *//method One: Switch to the directory you want to delete, delete all files under directory Rm-f *//method Two: Delete all files under the Logs folder without deleting the folder itself RM -RF log/*

View process
Method One: Top method Two: Ps-a

Search for the name of a file or folder
Find-name File name *

Kill a Process
Kill Process Number

Quickly find the corresponding process in a bunch of processes
Ps-ef|grep php-fpm (Note: | Indicates that the left and right commands are executed together)

PHP program ape Common Linux commands

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.