Solved

Empty Trash in Linux Red Hat

Posted on 2014-11-26
5
1,481 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
  • 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now