Delete NTFS format system recycle bin files in Ubuntu

Source: Internet
Author: User
I used to use Windows XP and Ubuntu. Later I started using Ubuntu and deleted Windows XP. However, I did not modify the hard disk partition, after that, some files in d were deleted because they were useless. However, my hard disk space was not changed and I felt that they were not cleared by the recycle bin. After viewing through ls, it is my opinion. When we delete non-Ubuntu system files, especially when we used dual systems, Windows XP and Ubuntu

In the past, I used Windows XP and Ubuntu dual systems. Later I started using Ubuntu and deleted Windows XP. However, I did not modify the hard disk partition, after that, some files in d were deleted because they were useless. However, my hard disk space was not changed and I felt that they were not cleared by the recycle bin. After viewing through ls, it is my opinion.

When we delete non-Ubuntu system files, especially when we used dual systems, Windows XP and Ubuntu, executing the clear recycle bin command does not actually delete files that are not in the trash directory under home, after you clear the recycle bin, you may find that the previous D disk space has not changed. You need to clear it by yourself.

Start the Ubuntu Terminal

Input
$ Cd/media/sda5
Ls-
Cd. Trash
Rm-rf *

In this way, it is cleared.

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.