Solved

Empty Trash in Linux Red Hat

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

735 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