Загрузка страницы

How To Check Disk Space In SSH

In this video tutorial I demonstrate how to easily check your disk space in SSH on a Linux server.

In this video, we'll cover:

00:00 - Introduction
00:25 - Cloud VM specs
02:19 - Using terminal in Web Host Manager (WHM) / cPanel
02:44 - My favorite disk commands
03:29 - Running the commands
06:12 - Using sudo user
07:18 - Checking all devices disk space (not just mounted)
09:30 - Getting folder space allocation
10:31 - Sorting disk space using more -hr
12:32 - Checking the file sizes
13:20 - Checking a specific folder size with du
14:05 - Checking disk space in Web Host Manager (WHM) / cPanel
18:42 - Final verdict: Using SSH to check disk space

------------------------------------------------------------------
How to check free disk space in ssh
------------------------------------------------------------------
Checking disk space in SSH is super simple, but anytime you access the command line, you should ONLY run commands you are familiar with. You can really cause some heavy damage with 'fat fingers'.

(depending on your server setup, you may need to use 'sudo' before these)

My favorite for summary:
df -h

Using fdisk:
fdisk -l

Folder breakdown (more keeps it from scrolling crazy):
du | more

Human readable:
du -h

Sort in descending order with a pipe:
du -h | sort -hr | more

Check file size:
du -ah | sort -rh | more

If this video helped you out - make sure to join 11,000+ others by subscribing to our channel!

NameHero powers over 1,000,000+ websites across 40,000+ customers world wide. You can learn more about our world-class cloud web hosting here: https://www.namehero.com/web-hosting

#webhosting #resellerhosting #vpshosting #wordpress #namehero

Видео How To Check Disk Space In SSH канала NameHero
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
24 февраля 2023 г. 13:55:09
00:20:15
Яндекс.Метрика