Write a program that takes a filename as an argument, opens the file (if it exists, else handles any errors), reads the file contents, and closes the file. The file should contain a list of commands, one per line, each of which is the full path of a command (such as /bin/ls, /bin/ps, /bin/date, /usr/bin/who, /bin/uname etc.). Assuming the number of such commands is N, your program would then create N child processes, each of which will execute one of the N commands. You should make sure that these N commands are executed concurrently, not sequentially one after the other. The parent process should be waiting for each child process to terminate. When a child process terminates, the parent process should print one line on the standard output stating that the relevant command has completed successfully or not successfully (such as "Command /bin/who has completed successfully"). Once all of its children processes have terminated, the parent process should print "All done, bye-bye!" before it terminates.
21 freelancer menawar dengan rata-rata $31 untuk pekerjaan ini
Hi there, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
Hi, I've experience with C programming needed for this task. I've written code for similar problems in past and I feel I can complete your task with a day's time.
hello i read instruction that is given in this project please provide more detail for the project i have done number of project i will provide 5 star rating work thanks
This is typical System Programming task. I have done such project in my Bachelor in C and Python in frames of Linux environment. And of course all my projects in Freelancer are from this category.
As a beginner in freelancing, I would like to start with you. ■ I am ready to begin immediately. ■ You can go though my linked in profile : [login to view URL] Kind Regards, Jeet Parikh