Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-01-2004, 07:30 PM   #1
LQ Newbie
Registered: Apr 2004
Location: Canada
Distribution: FreeBSD 4.10
Posts: 7

Rep: Reputation: 0
rm gets rid of file, but hardrive space doesn't get smaller (bash)

Hey all, I'm fairly new to linux, and I'm running a game server, for which I had to download some fairly large install files. After installing them, and my hard drive becoming 90% full, I continued to:
rm <the large installation files>
After 'lsing', and seeing the files no longer there, I'm all happy. I now check to make sure my hard drive has its space back, with df. Guess what? Still exact same usage. This isn't too good (btw, the hard drive's only a 2 giger..)
Is there any way at all to completely get rid of those files, to clear up my hard drive??

Old 05-01-2004, 07:50 PM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
rm should remove the files.
You can use 'du -h' to verify the disk usage.
Old 05-02-2004, 01:34 AM   #3
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Also be sure that's where your disk usage is coming from. Might have dumped a bunch of junk in /tmp to clean out, for instance.


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
How to get rid of the begining and end space of a string for PERL?? cqmyg5 Slackware 2 04-28-2005 05:34 PM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 10:58 PM
bash, ls how to get rid of the '@' added to symlink keefaz Programming 4 07-21-2004 05:36 AM
script #!/bin/bash, problem with space in file names existent Linux - General 3 06-17-2004 09:13 AM
How to get rid of quotes in bash? CodeWarrior Slackware 7 05-21-2003 10:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 AM.

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