Home / CodeShell / Shell / Find Large Files Over 100MB - Linux Bash Command

Find Large Files Over 100MB - Linux Bash Command

Find Large Files Over 100MB - Linux Bash Command
  • Category Shell
  • Type Command
  • Platform Linux
  • Language Bash
  • Price Free
  • Copy 85 548
  • Comments 0
Go to Code
Find Large Files Over 100MB - Linux Bash Command

Find Large Files Over 100MB - Linux Bash Command

Copy this Bash snippet on Clayi Code — one click, no account required. Free command snippets with syntax highlighting and instant copy — built for developers and sysadmins.

What it does and when to use

A ready-to-run terminal command you can paste into your shell and execute. Handy for file search, disk usage, permissions, networking, process management, and everyday admin work.

How to copy from Clayi Code

Scroll to the code box, click Copy, and paste into your terminal or SSH session.

Run it on the right shell

Do not paste Bash into CMD, or PowerShell into Bash. Use the shell that matches your system.

Command safety

Read the full command before running. Some one-liners can change or delete data — test on non-production systems when unsure. Watch quoting, paths, and sudo usage; use bash -n or ShellCheck on longer scripts.

Shell reference

Category: Shell. Language: Bash. Platform: Linux. Format: Command.

Popularity
0%
  • Votes: 7858
  • Comments: 0

Find Large Files Over 100MB - Linux Bash Command

#!/usr/bin/env bash
# Find files larger than 100MB in the current directory
# Usage: ./find-large.sh [path]

MIN_SIZE="100M"
SEARCH_PATH="${1:-.}"

find "$SEARCH_PATH" -type f -size +"$MIN_SIZE" -print0 
  | xargs -0 du -h 
  | sort -rh 
  | head -n 20
Free snippet — copy & paste!
Copy this snippet for free on Clayi Code. One click — no account required.

Similar Snippets

Populer Snippets

There are no comments yet :(

Find Large Files Over 100MB - Linux Bash Command
Tell us what you think about "Find Large Files Over 100MB - Linux Bash Command"
Information
Users of Guests are not allowed to comment this publication.