![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Code:
find /path -size +1048576 -exec ll {} \;
|
|
#3
|
|||
|
|||
|
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! |
|
#4
|
|||
|
|||
|
that's ll (ell ell), not one one
Or ls -l |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
|||
|
|||
|
Oh... I also tried ls -l, l and ls... still no go...
|
|||
| Google The UNIX and Linux Forums |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|