Ubuntu Useful Command



Check and Sort Large Installed Package



The below command will show installed packages sorting based on file size.
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr | less

Find Large Size File

The below command will find file larger than 20MB
find / -type f -size +20M
Previous Post