#!/usr/bin/python import os import string if not os.fork(): os.system('du -a . >/dev/null 2>/dev/null') os._exit(0) if not os.fork(): os.system('cat ./* >/dev/null 2>/dev/null') os._exit(0) if not os.fork(): os.system('cat ./*/* >/dev/null 2>/dev/null') os._exit(0) for file in os.listdir('.'): if file.endswith('.py'): modulename = file[:-3] for ch in modulename: if ch not in (string.letters + string.digits + '_'): break else: os.system('python -c "import {}" >/dev/null'.format(modulename)) os.wait() os.wait() os.wait()