Identify storage and file system information.
Outcomes
Use graphical and command-line tools to examine disk space usage on a Linux system.
As the student user on the workstation machine, use the lab command to prepare your environment for this exercise, and to ensure that all required resources are available.
[student@workstation ~]$ lab start filesystem-storage
Instructions
In the Disk Usage Analyzer application, review the items in your home directory that use the most disk space.
Open the Disk Usage Analyzer application and click .
In the left panel, review the disk usage list.
Your disk usage might vary.
On the command line, view the disk space that is currently available in your home directory.
[student@workstation ~]$ df -h ~
Filesystem Size Used Avail Use% Mounted on
/dev/vda4 9.4G 4.8G 4.6G 52% /The output of the df -h command shows that the home directory has 4.6 GB of disk space available.
Your available disk space might vary.
View the disk space usage in your home directory.
The command output shows the space usage for all the files and directories under your home directory.
[student@workstation ~]$ du -h ~
20K /home/student/.ssh
4.0K /home/student/.config/dconf
4.0K /home/student/.config/ibus/bus
...output omitted...
359M /home/student