How to clear the recycle bin in LINUX

Source: Internet
Author: User
In LINUX, how to clear the recycle bin-Linux general technology-Linux technology and application information is as follows. It's almost a month since I went to the company. Due to the lack of people in the project team, the project hasn't started yet. During this time, even the preliminary knowledge preparation is required. The entire project should be developed in LINUX, so I have to study it well, today, I encountered a small problem: In my user mode, I want to clear the recycle bin. When I right-click to clear the recycle bin, there is a problem. I keep reminding me which file cannot be deleted and the permissions are insufficient. I checked the information and said to use the command line to forcibly delete it.

Follow these steps:

(1) $ su root // enter the root user mode

(2) # cd/home/gyb/. Trash // enter the recycle bin in the user directory, where gyb is the user directory created by myself.

(3) # rm? Rf * // clear the recycle bin.

When you open the recycle bin, you will find that the recycle bin has been cleared.
Related Article

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.