Linux Server One-click Delete folder SSH command

Source: Internet
Author: User

Linux Server management is not as convenient as Windows Server Management, of course, Linux can also be visualized visual operation, I am accustomed to use the SSH command management operations, often encounter the site to generate a large number of garbage files distress, direct login ftp deleted, have tried to delete the whole day is deleted, FTP is also often disconnected. Below share the Linux server one-click Delete folder SSH command operation method:

Download putty software, double click to open, enter your host IP address, connection type select SSH open.

Select the folder you want to delete, action demo take the website http://www.war126.com for example, connect to the website via FTP, can see all the directories of the website, I want to delete "/host/web/www/www.war126.com/delete" Folder directory below all the files. FTP allows you to see both files and folders under the directory.

Running commands in SSH

Rm-rf/host/web/www/www.war126.com/delete

Only a few minutes, a hundred thousand of of the junk files can be deleted.

Article from: http://jingyan.baidu.com/article/17bd8e5213eeff85aa2bb867.html

Linux Server One-click Delete folder SSH command

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.