#include #include #include int main() { if(fork() == 0) { execlp("cat", "cat", "file.txt", NULL); } else wait(NULL); }