SSH du command

If you wish to track the Disk Usage of your Linux Dedicated Server or VPS – the SSH du command is quite useful and very fast. In this article, we will show you the most important usage of the SSH du command. It is extremely handy if you have a lot of people uploading content to your machine or if you have daily backups scheduled. Use this SSH command to check the disk usage of your Linux machine in seconds.

Using SSH du command to view how full is your server

This will display the size of all files down the current working directory

du

The above one will show output in Kilobytes, we are more used to seeing Mbs and Gbs, for this we’ll use the -h option

du -h

Using SSH du command to view all files’ Disk Usage

du -ah

A similar way to go is to use

du -sh ./*

Using Linux du command to view files in the n nested directories below

du -ah --max-depth=1
  • 0 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

SSH ip command

If you wish to obtain information about your server’s IP on a Linux machine using SSH you can use...

SSH rm command

If you wish to remove a file or folder from your Linux system you can use SSH rm command. In this...

SSH echo command

One of the most useful commands in a Linux environment is echo. With it, you can provide output...

SSH history command

If you wish to find what commands you have previously executed in a Linux environment you can use...

SSH cd command

SSH cd command is mainly used to navigate in your Linux environment. In this article, we’ll show...

Powered by WHMCompleteSolution