How to find large file size on linux (Solution)
Written on June 25, 2008 at 1:35 pm by
mkyong
Recently my fedora core run out of space, i start to think whether linux provide any command to check large file size on file system? luckily i found below command.
find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'if you encounter some permission denied error, please issue sudo prefix and make sure you have sudo privileges
sudo find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'Above command will find all files which file size exceed 100mb on any directories.
P.S you can customized above command to whatever you like
find (directory path) f -size (file size) -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
Oracle Magazine (Free)
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world\'s largest enterprise software company.
Publisher : Oracle Corporation



[...] comando [...]
[...] comando [...]
[...] [...]