Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Newbie
Reload this Page Disk Space
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Newbie If you're new to the wonderful world of Linux, start here!

Reply
 
Thread Tools Display Modes
Old 02-29-2004   #1 (permalink)
danbo
Linux Newbie
 
Join Date: Feb 2003
Location: Swansea (UK)
Posts: 221
Disk Space

Is there anyway to check how much disk space i've used and how much is left on my hard drive (i'm using KDE 3.0)?
danbo is offline   Reply With Quote
Old 03-01-2004   #2 (permalink)
Dolda2000
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
Run the `df' command from a shell prompt - that will print the disk usage on all mounted filesystems.
Dolda2000 is offline   Reply With Quote
Old 03-01-2004   #3 (permalink)
andutt
Linux Engineer
 
Join Date: Apr 2003
Location: Sweden
Posts: 796
Code:
df -h
Shows a little more sane result
__________________
Regards

Andutt
andutt is offline   Reply With Quote
Old 03-03-2004   #4 (permalink)
anand
Linux Newbie
 
Join Date: Feb 2004
Location: India
Posts: 132
Hi,
Since you said you were using KDE
open
kmenu > control center > Information > Storage Devices

You will see nice information.
p.s.
command to try
du --max-depth=0 -h
Try this in your home directory or anywhere
Bye
__________________
You are the one Linux!
anand is offline   Reply With Quote
Old 03-03-2004   #5 (permalink)
zba78
Linux User
 
zba78's Avatar
 
Join Date: Feb 2004
Location: Birmingham, England
Posts: 332
If you are using KDE you can also type
Code:
kdf
in a command shell to bring up a nice graqhical view of disk space usage
__________________
Ubuntu Hardy :: Acer Aspire 1692WMLi
zba78 is offline   Reply With Quote
Old 03-03-2004   #6 (permalink)
danbo
Linux Newbie
 
Join Date: Feb 2003
Location: Swansea (UK)
Posts: 221
Quote:
Originally Posted by zba78
If you are using KDE you can also type
Code:
kdf
in a command shell to bring up a nice graqhical view of disk space usage
oh thats kool, thx...... i wont use the system info on kde because i wanted a terminal command for this
danbo is offline   Reply With Quote
Old 03-03-2004   #7 (permalink)
Gnux
Linux User
 
Join Date: Sep 2003
Posts: 254
U could also use
Code:
fdisk -l
Gnux is offline   Reply With Quote
Old 03-03-2004   #8 (permalink)
Dolda2000
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
However, `fdisk -l' doesn't display how much space is left or anything. It just lists the partitions and how large they are. You also have to run it as root.
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 05:25 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0