Question: Using C code, how can i write a program that calls fork() and then calls some form of exec() to run the program /bin/ls. See
Using C code, how can i write a program that calls fork() and then calls some form of exec() to run the program /bin/ls. See if you can try all of the variants of exec(), including execl(), execle(), execlp(), execv(), execvp(), and execvpe()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
