Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Don't overlook the simple

 

Alongside date, another command I run almost as an impulse is df -h:

$ df -hFilesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00 38G 4.8G 33G 13% /devtmpfs 235M 0 235M 0% /devtmpfs 244M 0 244M 0% /dev/shmtmpfs 244M 4.5M 240M 2% /runtmpfs 244M 0 244M 0% /sys/fs/cgroup/dev/sda2 1014M 63M 952M 7% /boottmpfs 49M 0 49M 0% /run/user/1000

Like time being wrong, cosmically stupid errors can occur when disk space has run out, with no actual indication as to what the real problem is. Programs rarely print I can't write to this file, so I'm broken, and instead usually settle on cryptic, baffling, and altogether mind-numbing errors that make no sense on the face of it. 

Check disk space second. 

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content