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 10-30-2006, 02:09 PM   #1
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Rep: Reputation: 15
How do you check disk space?


How do you check your disk space from the command line on slack 11? I keep getting the error, 'no space left on device' when I try to make a pine mail folder.
 
Old 10-30-2006, 02:11 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
In general: "df"
I doubt if Slackware is different
 
Old 10-30-2006, 02:25 PM   #3
dougp23
Member
 
Registered: Oct 2006
Posts: 43

Rep: Reputation: 15
Yup, and

df -m

for how many megs of space left.
That error sounds not pleasant!
 
Old 10-30-2006, 03:03 PM   #4
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dougp23
Yup, and

df -m

for how many megs of space left.
That error sounds not pleasant!
your right about that doug, it's un pleasant for sure. df showed I had zero space left, so I have been in the pkgtool thing trying to remove uneeded programs. When I installed slackware I had it load 'everything' and now I regret it. I hope this rig reboots when Im done removing things. So far I got 35 M space back.

 
Old 10-30-2006, 03:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
my way to track down wasted space is to go to the root directory of whatever partition is full and run "du -hx --max-depth=1" this will give you the size of each subdirectory from where you currently are. if you think one of them is disproportianately (SP!!?!) big, cd to that directory and run the command again. this should help you track down any massive log files or something. if you simply have a very small partition you've put far too much stuff in, that's a different sort of problem though, and one that may well need major surgery.
 
Old 10-30-2006, 03:55 PM   #6
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
I installed on a 4 gig drive, with some of it for swap space. I removed some things and now Im going to re-boot and hope it still works. If I dont make it back, it was nice knowing you guys.
 
Old 10-30-2006, 04:02 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,546

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
I run Ubuntu (full Gnome) in under 4 Gig - including swap.
If you can't get Slack shoe-horned in, something's wrong. When I tried Slack I used swaret, and it was a pig re disk space - I would have thought pgktool should be better in that regard.
 
Old 10-30-2006, 05:21 PM   #8
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
Yaaaay, I made it back and it's semi honed in. I have over 750 M free space, but I lost a couple things. When I type 'mail' at the command prompt it says bash cant find it. I'll fix it as soon as I figure out how. Firefox is gone too, so I gotta fix that. Im sure I'll find other things missing. For every problem I fix, I create 5 more.
 
Old 10-30-2006, 07:39 PM   #9
ph3ar
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
df -h give you the space in MB, but general df commands, type in df --help to get a list of the commands
 
Old 10-31-2006, 09:15 AM   #10
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
Just for interests sake, the command 'mail' from the command line in slackware 11 comes from the package mailx. mail is cool, I set up fetchmail's daemon to fetch my mail and I just type 'mail' to see if I got any letters. Firefox and seamonky need the pang deal with libpangoxft to run.
 
Old 10-31-2006, 09:39 AM   #11
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Also try running/installing "localepurge" to remove any unused man pages.
 
  


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
Check disk space used in a directory cli_man Linux - General 5 03-13-2009 03:28 PM
How to check free disk space TigerLinux Linux - Newbie 9 10-04-2005 05:04 PM
Yum - check for disk space maimonoded Linux - Software 0 03-31-2005 09:23 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM


All times are GMT -5. The time now is 02:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration