Program in C++ to emulate Unix operating system.