How to find large files in Linux
This document (7010711) is provided subject to the disclaimer at the end of this document.
Environment
Situation
How to identify, find, locate, determine large or big files in linux.
Resolution
nice find / -size +1G -exec ls -lhs {} \; 2>/dev/null
Identifying files over 500MB starting from a specific path. From a terminal window, enter:
nice find / -size +500M -exec ls -lhs {} \; 2>/dev/null
Identifying files over 500kb starting from a specific path. From a terminal window, enter:
nice find / -size +500k -exec ls -lhs {} \; 2>/dev/null
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7010711
- Creation Date: 30-Aug-2012
- Modified Date:04-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com