how to find largest file?

Answers were Sorted based on User's Feedback



how to find largest file?..

Answer / padma

'Top' command can be used to display all the memory size of cpu used.

Is This Answer Correct ?    0 Yes 1 No

how to find largest file?..

Answer / biplab pramanik

It will print first 10 largest files.


$ du -a/var | sort -n -r | head -n 10

Is This Answer Correct ?    11 Yes 14 No

how to find largest file?..

Answer / rk

Right click---->Arrange Icons By-----> Size---->The last
file in the folder will be the largest..

Is This Answer Correct ?    1 Yes 5 No

how to find largest file?..

Answer / rohit

ls -lstr|head -1

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More Unix Commands Interview Questions

Write a command to find all of the files which have been accessed within the last 30 days.

14 Answers   Cisco,


How do I use nslookup?

0 Answers  


What is the size of time_t?

0 Answers  


What is the use of pipes?

4 Answers  


How to install scsi driver in unix? give me explanation clearly?

1 Answers   HCL, TCS,






Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


distinguish between user mode and kernel mode?

4 Answers   Infosys,


What is use of sed command?

12 Answers   BitWise, Infosys, Reliance,


How many bits use for MAC address?

7 Answers   Google,


What is unix command line?

0 Answers  


How to create hardlinks and softlinks on files?

2 Answers  


what is the use of "grep" command?

6 Answers   HCL,


Categories