Shell program using system calls