Summary
Congratulations! In this lab, you've learned how to:
- View disk usage with
df
- Examine directory sizes with
du
- Create, format, mount, and unmount a virtual disk
- View partition information with
fdisk
- Check filesystem integrity with
fsck
These skills form a foundation for more advanced Linux system administration tasks. They are crucial for managing storage, troubleshooting disk space issues, and maintaining filesystem health in Linux systems.
As an extra challenge, try to write a shell script that finds the top 10 largest files or directories in your home directory and displays their sizes in human-readable format. This will combine several of the commands you've learned in this lab.
Remember, practice is key in mastering these concepts. Don't hesitate to experiment with these commands (in a safe environment) to deepen your understanding. Good luck with your continued learning journey in Linux system administration!