The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check space utilization in recursive mode sureshg_sampat Shell Programming and Scripting 1 06-02-2008 02:56 PM
Please help - disk space check script maddhadder71 Shell Programming and Scripting 0 05-08-2008 09:16 AM
Creating a shell script to check filesystem space heprox AIX 10 06-18-2006 11:07 PM
check space !!! kamlesh_p Shell Programming and Scripting 2 11-09-2005 02:01 PM
Space in the directory name nitin UNIX for Advanced & Expert Users 5 10-06-2001 05:32 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-18-2002
lesstjm lesstjm is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 59
Question Check directory space?

Is there some command I can use to check to see if there is 2 Gig of space available in a directory before I created a 2 Gig file?
  #2 (permalink)  
Old 04-18-2002
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,804
Try the du utility; and do a man du for more specific information about how to use du.
  #3 (permalink)  
Old 04-19-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
I think that the df utility might be a better choice here. And again there is a man page on this this utility as well.
  #4 (permalink)  
Old 04-19-2002
hugo_perez hugo_perez is offline
Registered User
  
 

Join Date: Apr 2002
Location: Argentine - that better than to eat meat and to drink wine (both Argentineans)?.
Posts: 132
It is also necessary to have present if:

The filesystem is a large enabled filesystem?
There are a file large limit for users in the server?

Regards, Hugo.
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 09:39 PM.


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