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 / madhusudan choudhary

We can do this by

ls -lrt | sort +4nr -5 | head -1

or

du -s . | sort -nr | head -1

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of find command in unix?

1150


What is the first character of the output in ls l command?

1215


Is it inbetween or in between?

1052


What is {} in find command?

1108


What are awk commands?

1159


What is command statement?

1171


What is the command to compare two files in unix?

1123


What is the use of sed command in unix?

1202


What is .sh file?

1183


Which command is used to delete all files in the current directory and all its sub-directories?

1255


What does grep v grep do?

1075


What is awk command used for?

1232


What command will change your prompt to myprompt?

1324


How do I open a port?

1085


What are the dos commands?

1258