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.
22 freelance font une offre moyenne de $32 pour ce travail
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.
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ Plus
C is my top level skill, and I have great experience with Linux coding. I can do your task for a few hours time. Can start work now.
Hello, I have 30 years experience programming in C. In addition, I have a Linux system available for development. I will create this programming exercise to fork those processes and then wait until they end and c Plus
Keen to do it, please discuss. Negotiable price and duration.........................................................................................................................................................
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.
Hello, I'm an IT engineer with a master degree. I've got 3 years of professional experience as a C/C++ developer. I've read your task and I can do it without problem, it s all about fork and wait func ion. Contact m Plus
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.
I can do it in a day or two. I don't think this will be a tough one. because I have done a course on embedded software.
I can accomplish your project in C as I've done many similar projects in the past and I have been a teaching assistant in C programming at my university. The program will be able to create all the children and execute Plus
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
I’m a 20 years experienced software engineer and it’s my first offer on this site. I’ll do it in a cheap price to gain reputation. Choose me. You’ll never regret Relevant Skills and Experience About 20 years of experi Plus