Linux Survival
Search
Primary Menu
Skip to content
Home
Blog
Testimonials
Linux Links
Command List
Contact
Search for:
Linux Survival
One problem with the "df" command is that you get a list of all of the disks on your system, rather than just the one that you are interested in. Even though it was pretty easy to determine which disk contained your home directory on the previous page, it can actually be quite difficult at times to determine which disk particular files are stored on. Fortunately, there is a way to get the "df" command to figure out which disk contains a particular file or directory and then display statistics only for that disk. For example, if you wanted to get statistics for the disk where your home directory resides, you would type df ~ Type the command to find out how much disk space is free on the disk where your current directory resides.
Page 58
Click the right arrow.
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