Skip to content
Preptima

Linux & Networking interview questions

Processes and signals, file descriptors, DNS and TLS, and debugging connectivity from first principles.

5 questions in DevOps & Cloud.

medium2

mediumScenarioConcept

df says the filesystem is 100% full but du only accounts for half of it. What is going on?

df and du disagree because df reads filesystem block allocation while du walks visible directory entries. Deleted-but-open files, inode exhaustion, hidden files under mounts and reserved blocks are the usual causes. Use this LINUX answer to show the decision, trade-off, and evidence rather than a memorised definition. It also connects filesystems to the point an interviewer is testing.

4 minmid, senior

hard3