Solved

Empty Trash in Linux Red Hat

Posted on 2014-11-26
5
2,249 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Post Clonezilla image restore issue 6 85
How does PHP Storm display on Linux high resolution laptops? 1 89
Internal CA server 6 132
Migrating a Linux server to VMware 3 138
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

739 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