LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2003, 10:30 AM   #1
intellscreen
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Rep: Reputation: 0
deleting a file


my linux disk is full. when i deleted a few files so i could start x again i delete 3 600mb files in KDE. but i think KDE has a trashbin or something becourse the disk is still full.
if there is a trashbin how could i emty it from a terminal?(the delete command i use is unlink)
if there isn't a trashbin how is it posible the disk is stil full.
i am using redhat 9
 
Old 11-02-2003, 10:32 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
each user has their own tras h so for each user run as the user:
rm -rf ~/Desktop/Trash
 
Old 11-02-2003, 11:19 AM   #3
Starchild
Member
 
Registered: Sep 2003
Location: At a tea party with Alice in Wonderland.
Distribution: Fedora 7
Posts: 65

Rep: Reputation: 15
Wink

Quote:
Originally posted by david_ross
each user has their own tras h so for each user run as the user:
rm -rf ~/Desktop/Trash
That line will remove the trash bin as well. Effective, if excessive
You forgot /* at the end

So, the complete line should be:

rm -rf ~/Desktop/Trash/*
 
Old 11-02-2003, 01:39 PM   #4
intellscreen
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
thank you it worked
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting a file created by root statman Linux - Security 2 06-17-2005 11:22 AM
filtering a file then deleting it. road69runners Programming 6 12-02-2004 02:54 PM
Deleting a file starting with a ? bitpicker Linux - General 6 11-24-2004 02:20 PM
deleting kcore file? megaspaz Linux - General 1 11-07-2002 05:33 AM
Deleting a file...... lucifer Linux - Software 0 09-03-2002 04:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration