SUSE Support

Here When You Need Us

How to find large files in Linux

This document (7010711) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server

Situation

How to identify, find, locate, determine large or big files in linux.

Resolution

Identifying files over 1GB anywhere on the filesystem. From a terminal window, enter:
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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.