Skip to content

GEEKDECODER

Linux, Windows, Software Tips, Articles and Hacks

  • Services
  • Support
  • Contact
  • About
  • Crypto Quotes

Search for Articles

Search for:

Featured Articles

  • How to Remove You do not have a valid subscription for this server on Proxmox version 7.1-8
  • How to Switch Desktop Environments in Ubuntu/Debian From the Command Line
  • NetworkManager
  • Install and Configure fail2ban on Debian 11
  • ApacheSolr vulnerability CVE-2021-44228 for Log4j
  • Install Proxmox VE on Debian 11 Bullseye 3 Node Cluster with Ceph
  • Display Linux logo with hardware Info using screenfetch
  • Install and Setup ClamAV on Debian 11
  • Remove Nginx
  • Install MySQL, Nginx and Zabbix on Debian 11

Categories

Find Largest files/Directory CentOS

November 20, 2014 The Geek Decoder Leave a comment CentOS 6

To find the largest files in a directory, run the following:

# du -a /var/www/vhosts | sort -n -r | head -n 10

or

Find the largest files from the root directory:

find / -type f -size +200000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Post navigation

← Access phpMyAdmin direct on plesk server
Subdomain Creation Error in cPanel →

Copyright 2021 Geekdecoder, LLC. All Rights Reserved.