How find large files in Linux?

How find large files in Linux?
Answer
The procedure to find largest files including directories in Linux is as follows:
  • Open the terminal application.
  • Login as root user using the sudo -i command.
  • Type du -a /dir/ | sort -n -r. |
  • du will estimate file space usage.
  • sort will sort out the output of du command.
  • head will only show top 20 largest file in /dir/
 

Tìm kiếm

Back
Top