Find large files in the system -Linux:
Navigate to ‘/’ then issue the following command
sudo du -h | egrep '([0-9]+(\.)*[0-9]*)G(.*)'
· Command will be in effect from the path you execute . ‘sudo’ is optional
· 'G' represent gigabyte . change it depends on scale you want .
Its better this way
ReplyDeleteeg :
sudo find / -type f -size +1024M -exec ls -lh {} \; | awk '{ print $0 }'