display largest files ubuntu code example
Example: ubuntu command to list largest files
du -a /dir/ | sort -n -r | head -n 20 # where /dir/ is the directory name
du -a /dir/ | sort -n -r | head -n 20 # where /dir/ is the directory name