Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find largest file?

Answer Posted / phani

Eg:- we need to find /tmp filesystme large files , this
command will give all large files::
find /tmp -size +200 -exec -ls -s {} \; |sort -nr |more
=============
(root): ls -lstr|head -1
total 112
==============
: ls -l | sort +4 -nr | head -1
dr-xr-xr-x 11 root bin 8192 Oct 4 2007
SUNWexplo
===========
: ls -ls|sort -nr|head -1
16 drwxr-xr-x 25 appw app 8192 Aug 4 14:45 appw2
==============
: du -a /var | sort -n -r | head -n 10
6054872 /var
2150598 /var/sadm
2108022 /var/sadm/pkg
2077238 /var/crash
2077220 /var/crash/cmfciohqapp01
2072560 /var/crash/cmfciohqapp01/vmcore.0
1182398 /var/tmp
282530 /var/sadm/pkg/VRTSvxvm
282454 /var/sadm/pkg/VRTSvxvm/save
276332 /var/tmp/J2SE_Solaris_10_Recommended
===================

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does pipe () return?

1019


Is it inbetween or in between?

997


Give the command for finding the current date.

1032


What is the comma to display different lines that are found when compare two files?

1081


What is the use of the command 'ls -x chapter[1-5]' ?

1149


What do chown command do?

1113


How to display no of records in oracle using unix command?

1098


Can you enlist some commonly used network commands?

1049


What is the significance of the 'tee' command?

1133


Explain mount and unmount command.

1140


What do chmod command do?

1136


Which command is used to find whether the system is 32 bit or 64 bit?

1074


What is the use of awk command in unix?

1064


Name the general commands in using unix os for a beginner?

1087


Why is grep called grep?

1229