The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increasing screen display size sellafrica1 AIX 0 05-08-2008 10:09 AM
how to display the permission of the home directory nadman123 Shell Programming and Scripting 9 04-15-2008 05:09 AM
display filesystem size that cross 75% as used HAA Shell Programming and Scripting 2 04-24-2007 04:56 AM
Display size shaan_dmp UNIX for Dummies Questions & Answers 1 02-13-2007 09:16 AM
What's the easiest way to display system cpu, memory, # drives/size ?? eyounes UNIX for Advanced & Expert Users 4 03-12-2002 08:31 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-10-2007
t4st33@mac.com t4st33@mac.com is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 8
Display Directory Size - DF?

How can I display the size of a directory and contents witin a directory

df only gives me the mounts
  #2 (permalink)  
Old 01-10-2007
Radar's Avatar
Radar Radar is offline
Registered User
  
 

Join Date: Dec 2006
Location: Clifton Park, NY
Posts: 86
Quote:
Originally Posted by t4st33@mac.com
How can I display the size of a directory and contents witin a directory

df only gives me the mounts
Try using du
  #3 (permalink)  
Old 01-10-2007
tepezcuintle tepezcuintle is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 1
try this

du -hs directoryname

that will give you the total size of the directory
  #4 (permalink)  
Old 01-11-2007
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Try "df -hl . " instead. Remember the '.' is the working directory you are in.
hl will gives you output in mb.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0