The UNIX and Linux Forums  

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
command to list dot files Jakeman1086 UNIX for Dummies Questions & Answers 4 09-08-2007 10:42 PM
How create a large list of document ids in VI ruben7566 Shell Programming and Scripting 1 04-05-2006 07:16 AM
List large files GNMIKE UNIX for Dummies Questions & Answers 2 12-28-2005 10:48 AM
Command to list all files groundlevel UNIX for Dummies Questions & Answers 6 11-06-2005 02:00 PM
can we list other than c files in a directory with only 'ls' command? venkat UNIX for Dummies Questions & Answers 3 03-12-2004 06:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-07-2006
Registered User
 

Join Date: Jan 2006
Posts: 13
Command to list large files

Looking for a line to show all of the large files on a unix server (over 300mb)...

Having problems finding anything that works...

TIA!
Reply With Quote
Forum Sponsor
  #2  
Old 06-07-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
Code:
find /path -size +1048576 -exec ll {} \;
looks for about 500mb using blocks, 629145 ~ 300 MB
Reply With Quote
  #3  
Old 06-08-2006
Registered User
 

Join Date: Jan 2006
Posts: 13
Thanks for the response... I went to my root and typed: find / -size +1048576 -exec 11 {} \;

And it didn't show any results... I was hoping I could find all of the files on the entire server for over 300MB and spit out the results. Thanks again!
Reply With Quote
  #4  
Old 06-08-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
that's ll (ell ell), not one one

Or ls -l
Reply With Quote
  #5  
Old 06-08-2006
Registered User
 

Join Date: Jan 2006
Posts: 13
lol... just call me nub...

Thanks again... but yea... I went to my root and ran this: find / -size +1048576 -exec ll {} \;

And it still shows no results... creepy
Reply With Quote
  #6  
Old 06-08-2006
Registered User
 

Join Date: Feb 2004
Posts: 91
This may have come from ZazzyBob at some point, but I've been using it for a while.


In Linux this example shows the 10 largest in /opt. Change /opt to suit.

find /opt -type f -printf "%k %p\n" | sort -rn | head -10
Reply With Quote
  #7  
Old 06-08-2006
Registered User
 

Join Date: Jan 2006
Posts: 13
Oh... I also tried ls -l, l and ls... still no go...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0