Solved

Empty Trash in Linux Red Hat

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 61
AD LDAP LDS 3 65
installing LSI MegaRAID Storage Manager on CentOS 7 22 304
Need BIOS update Linux for MSI X99A motherboard. 4 41
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

786 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