Book Image

Mastering Linux Network Administration

By : Jay LaCroix
Book Image

Mastering Linux Network Administration

By: Jay LaCroix

Overview of this book

Linux is everywhere. Whether you run a home office, a small business, or manage enterprise systems, Linux can empower your network to perform at its very best. Armed with the advanced tools and best practice guidance of this practical guide, you'll be able to mold Linux networks to your will, empowering your systems and their users to take advantage of all that Linux-based networks have to offer. Understand how Linux networks function and get to grips with essential tips and tricks to manage them - whether you're already managing a networks, or even just starting out. With Debian and CentOS as its source, this book will divulge all the details you need to manage a real Linux-based network. With detailed activities and instructions based on real-world scenarios, this book will be your guide to the exciting world of Linux networking.
Table of Contents (17 chapters)
Mastering Linux Network Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Scanning used storage


Almost everyone experiences a situation where disk space seems to vanish, with no clear indication as to what is taking up all the space. There are multiple ways in which you can troubleshoot what in particular is eating your hard drive space for breakfast. In order to see an overview of your mounted filesystems as well as their used and free space, execute the df command. Using -h with df is easier to read for most people, as it will show used space in MB and GB:

df -h

Armed with that information, you'll know exactly what device is being used up and what volumes to focus your attention on. But the df command doesn't actually tell you what is using up all the space; it only gives you an overview of the current situation.

Next up is du. The du command, which can also be paired with -h for the same reason, shows you how much space is being used in a directory. All you would need to do is to cd into the directory you wish to check, and then run du -h. For even easier to...