SSH get sort file and folder size of all directory

Arun - 25/02/2020 2:50 PM

SSH sort directories and files by size

Files 1

In command line
sh
du -a /home/folder_path/public_html/test_directory/wp-content | sort -n -r | head -n 5