• Contact Sales
  • Support
    • Service Status
    • Help Center
  • Become A Partner
    • Affiliate Program
    • Reseller Program
  • English
  • Home
  • Cloud Servers
    • Cloud Servers Great for all usage
    • Basic Servers Cheap servers for low usage apps
  • Bare Metal Servers
  • Web Hosting
    • Web Hosting Ultra-fast hosting with easy management
    • Reseller Hosting Start your own hosting business effortlessly
    • Free Web Hosting Zero cost hosting for low usage websites
    • Domains Find and register your perfect domain name
  • About Us
    • About Us
    • Contact
    • Terms of Service
  • Blog
Client Area
Client Area
  • Home
  • Cloud Compute
    • Cloud Servers
    • Basic
  • Bare Metal Servers
  • Web Hosting
    • Web Hosting
    • Reseller Hosting
    • Free Web Hosting
    • Domains
  • About Us
    • About Us
    • Contact
    • Terms of Service
  • Blog
Linux Tutorials

Check Disk Usage By File

June 15, 2023 simon No comments yet

To check which files or directories are using up space, you can identify which users or software on your server are using up space, for example when your disk is full.

You can check the storage used per file or folder by executing the following command inside the folder of choice (for example /home)

du -sh * | sort -h

Showing Hidden Files Only

This is useful to detect large amount of files in a .trash directory of a cPanel server for example.

du -hs .[^.]* | sort -h

simon

Post navigation

Previous
Next

Search

Categories

  • Linux Tutorials (4)
  • Security (1)
  • Services (2)

Recent posts

  • Cloud Hosting: Exploring the Benefits of Cloud-Based Infrastructure
  • A Step-by-Step Guide: Logging in with SSH on a Linux Server
  • Check Disk Usage By File

Tags

bare metal server cloud cloud server compute dedicated server disk linux linux server monitoring security ssh ssh keys virtual server vps

Related posts

Linux Tutorials

A Step-by-Step Guide: Logging in with SSH on a Linux Server

June 16, 2023 simon No comments yet

Secure Shell (SSH) is a widely used network protocol that allows secure remote access to Linux servers. Logging in with SSH provides a secure and encrypted connection, enabling you to manage your server remotely. In this blog post, we will walk you through the process of logging in with SSH on a Linux server, ensuring […]

Security

Securing Your Linux Server: Essential Tips and Tools

June 14, 2023 simon No comments yet

Secure your Linux server with patching, strong user security, backups, and proactive monitoring using tools like Nixstats, Nagios, Zabbix, Datadog, or Prometheus.

Cloud Compute
  • Serviceoverzicht
  • Basis VM's
  • Cloud Servers
Webhosting
  • Webhosting
  • Reseller hosting
  • Gratis webhosting
  • Domeinen
Phanes Cloud
  • Over ons
  • Blog
  • Netwerk Informatie
  • Servicestatus
  • Reseller Programma
  • Affiliate Programma
Bronnen
  • Privacybeleid
  • Algemene Voorwaarden
  • Misbruik melden

© Phanes Cloud.
Alle rechten voorbehouden.

BTW nummer: NL863929217B01, KvK nummer: 86316273

Alle prijzen zijn exclusief btw, betalingskosten en toepasselijke belastingen.
Betalingen worden gedaan in EUR (euro’s) en andere valuta zijn alleen ter referentie en onderhevig aan wisselkoersschommelingen.