Part Ⅱ–execute commands
Exec
This brings us to the exec family of functions. Namely, it has the following functions:
execlexecvexecleexecveexeclpexecvp
For our needs,we will use execvp whose signature looks like this
int execvp(const char *file, cha…