Linux Survival
Search
Primary Menu
Skip to content
Home
Blog
Testimonials
Linux Links
Command List
Contact
Search for:
Linux Survival
To see how much disk space you have left on your system, you need to use the "df" command, which stands for "disk free". df As you can see, "df" output is not exactly intuitive -- and we've even simplified it a bit. On a real system, the first column is actually "Filesystem", but that column is totally useless to the average user. In our example, the first three columns show the total disk size, the disk space used, and the available disk space. All of these numbers are in kilobytes. Notice that the "Used" and "Available" columns do not add up to the "1k-blocks" (total) column. That is because a percentage of the disk is always set aside for administrative use. In this case, 5% of each disk is reserved. Actually, if you just ignore the "1k-blocks" column, everything will make more sense, because it is the only one that deals with total disk space, rather than "user" disk space. Since a regular user doesn't have access to the reserved 5% of a disk anyway, you might as well pretend that it doesn't exist. The "Use%" column shows the percentage of user space that is currently used. The "Mounted on" column shows where the disks reside in your filesystem tree. This column raises enough questions to warrant a separate page of explanation. Click the right arrow.
Page 55
Where learning Linux is easy
Module 1 Introduction
Directory Structure
List Directory
View File Contents
Create Directory
Move and Rename File
Change Directory
Get Current Location
Quiz 1
End of Module 1
Module 2 Introduction
Pathnames
Copy File
Remove File
Remove Directory
File Security
Change File Permissions
Wildcards
Groups Memberships
Quiz 2
End of Module 2
Module 3 Introduction
Home Directories
Manual Pages
User Information
Find File
Concatenate Files
Redirect Output
Print
Print Job Status
Cancel Print Job
Quiz 3
End of Module 3
Module 4 Introduction
Copy Tree
Disk Space
Remove Tree
Process Status
Pipe Output
Pattern Matching
Kill Process
Quiz 4
Conclusion