QuickCheck interview question

A coding challenge based on linux and understanding of python and general programming fundamentals