How to determinate linux file or folder usage

In order to determine the space consumption of a file or folder
For example to determine the disk space for the folder /home

Run the command bellow in command line (ssh)
du -sh /home

If you want to determine the disk space for each file separately in folder /home
Run the command bellow in command line (ssh)

du -sh /home/*

Best regards

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to configure static IP on Centos 6

## Configure eth0 # # vi /etc/sysconfig/network-scripts/ifcfg-eth0   DEVICE="eth0"...

Linux Malware Detect tutorial

Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license,...

How to setup a Tor hidden service with NGINX on Ubuntu & Debian

Most of you are familiar with Tor, a free and open-source software for enabling anonymous...

An In-depth Guide on How to Use the Sudo Command in Debian, CentOS, and FreeBSD

If you’re on to Linux, you must’ve heard about the Sudo command. But the real question is, are...

Where to Learn the Linux Command Line?

The majority of websites are hosted on the Linux operating system and for a good reason. It...