India Broadband Forum


Find the top 5 big file

This is a discussion on Find the top 5 big file within the Linux forums, part of the Operating Systems category; The following command will display the top 5 largest file in the current directory and it’s subdirectory. This may take ...

Go Back   India Broadband Forum > Computers > Operating Systems > Linux

India Broadband Forum


                      

Reply

 

LinkBack Thread Tools Display Modes
Old 07-17-09, 11:28 AM   #1
Junior Member
 
Join Date: Jul 2009
Posts: 16
Rep Power: 1
vasudha is on a distinguished road
Default Find the top 5 big file

The following command will display the top 5 largest file in the current directory and it’s subdirectory. This may take a while to execute depending on the total number of files the command has to process.

# find . -type f -exec ls -s {} \; | sort -n -r | head -5
vasudha is offline   Reply With Quote
Old 10-26-09, 03:01 PM   #2
Junior Member
 
Join Date: Oct 2009
Posts: 52
Rep Power: 1
abena is on a distinguished road
Default

Quote:
Originally Posted by vasudha View Post
The following command will display the top 5 largest file in the current directory and it’s subdirectory. This may take a while to execute depending on the total number of files the command has to process.

# find . -type f -exec ls -s {} \; | sort -n -r | head -5
great ! have you tried this command?how many seconds that it will recover those files? well i guess i had to try this command to find out myself..thanks..its an added knowledge on my part
abena is offline   Reply With Quote
Reply

Tags
big, file, find, top

Thread Tools
Display Modes

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Top 3 Browsers For Windows imrock Windows 36 03-16-10 05:03 PM
Big TV adding HD Preeti_20 Big TV 5 03-03-10 07:14 PM
How to Find the Owner of a Website or Domain Name Preeti_20 Web hosting 8 02-15-10 11:58 AM
How Torrents Works ? talktoanil Computer technology 12 02-03-10 12:26 AM


All times are GMT +5.5. The time now is 10:53 PM.


India Broadband Forum