Linux Interview Questions
4 questions
A backup script runs perfectly when you execute it by hand, but fails silently every night when cron runs it. How would you debug it?
BeginnerBashLinux8 min
What's actually the difference between a container and a virtual machine, at the operating system level — not the marketing-slide version?
BeginnerContainersLinux7 min
df says a server's disk is 100% full, but running du -sh on every top-level directory only adds up to a fraction of that. Where did the rest of the space go?
IntermediateLinux8 min
An application intermittently fails to resolve a hostname — most requests succeed, but a small percentage fail with a DNS error. How would you track this down?
IntermediateDNSLinux8 min