How Do I Find The Largest Top 10 Files and Directories

Type the following command at the shell prompt to find out top 10 largest file/directories in current directory
du -a * | sort -n -r | head -n 10

Yorumlar