Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3329
  • Last Modified:

Empty Trash in Linux Red Hat

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
exhuser
Asked:
exhuser
  • 3
  • 2
1 Solution
 
GaryCommented:
From the terminal go to the trash folder and run

rm -rf *
0
 
exhuserAuthor Commented:
How can I locate the Trash folder, which needs to be emptied?
0
 
GaryCommented:
As in your Q

 var/trash/
0
 
exhuserAuthor Commented:
It is actually /var/.Trash-0

should I browse to Var and then execute
rm -rf .Trash-0
0
 
GaryCommented:
Yes
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now