Available space on our server

In this manual we will learn how to see the available space on our Linux server.

We will connect to our server via SSH through our terminal. Once inside we will use the following command:

# df -h

It will return the following result: enter image description here

The folder we care about is "dev/xvda3", being "size" the space of it, "used" the used one and "avaible" the available one.

If what we want is to know the space occupied by folders in the "home" directory, we will use:

# # du -h / home

It will return the following result: enter image description here

If we want to search for a file larger than 50M:

# find / -type f -size +50M -exec ls -lh {} \;

It will return the following result: enter image description here

We hope this manual has been useful to you.


2024 SW Hosting. All rights reserved. The prices shown on the website do not include any applicable taxes.