LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-20-2009, 03:08 AM   #1
ak.lokesh
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Rep: Reputation: 0
Disk usage


Hi All,
How can we check the disk usage in LINUX?

Thanks in advance.
 
Old 02-20-2009, 03:17 AM   #2
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

Rep: Reputation: 98
Look at http://tinyurl.com/auorc5
 
Old 02-20-2009, 04:31 AM   #3
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
'du -h'

if you just want to see current level directory usage, add '--max-depth=1'
 
Old 02-20-2009, 05:31 AM   #4
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
'du -h' will give you the directory usage.
'df -h' will tell you how much disk free space you have.
 
Old 02-20-2009, 04:11 PM   #5
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up disk usage

du is the command for disk usage.

du -a gives usage information of all files and directories.

du -b gives the information in bytes

du -a -b is the perfect answer i guess.
 
  


Reply



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
disk usage ?? sachinh Linux - General 3 11-16-2007 01:03 PM
disk usage? crofty13 Linux - Software 1 10-18-2007 06:42 AM
disk usage mouncifb Linux - Software 4 07-05-2007 03:04 PM
AS 2.1 disk usage buck2bcr Red Hat 4 03-23-2004 09:50 AM
101% disk usage on an empty disk tsiuser Linux - Software 3 01-28-2004 06:24 PM

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

All times are GMT -5. The time now is 04:41 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
Open Source Consulting | Domain Registration