Solved

Empty Trash in Linux Red Hat

Posted on 2014-11-26
5
2,433 Views
Last Modified: 2014-11-26
Hello,

I've moved several items to Trash. However, they are not showing in the Trash folder on the desktop. Instead they are in var/trash/.trash-0. How can I empty/permanently remove the files?

Thanks
0
Comment
Question by:exhuser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40467712
From the terminal go to the trash folder and run

rm -rf *
0
 

Author Comment

by:exhuser
ID: 40467734
How can I locate the Trash folder, which needs to be emptied?
0
 
LVL 58

Expert Comment

by:Gary
ID: 40467738
As in your Q

 var/trash/
0
 

Author Comment

by:exhuser
ID: 40467742
It is actually /var/.Trash-0

should I browse to Var and then execute
rm -rf .Trash-0
0
 
LVL 58

Expert Comment

by:Gary
ID: 40467755
Yes
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question