Select Page

ABIOLA RASP – Raspberries for African School Projects

Wie können wir helfen?

< Alle Themen

Show disk usage

no-840 au-03

Disk Usage for all files

It is possible to learn disk usage for all files and directories. To do this, you can use the du command.

1) Run below command

du -ah

2) The size of the files or directories

3) You can see the other files using scroll down icon.

Disk Usage of current directory

The disk usage of current directory can be show with -sh parameter. Now, we’ll learn the disk usage of Picture directory.

1) Go to Picture directory.

cd /home/pi/Pictures/

2) Run below command

du -sh

3) Here is the size of Picture directory.

This article is a component of the “Linux Introduction” course from the ABIOLA online Academy.

Please refer:

Zurück Show target mount point for all filesystems
Weiter Show free and used space