Question: 2) Write a simple C program myexec (source will be myexec.c) that will take a command (a program name) and its parameters and will execute
2) Write a simple C program myexec (source will be myexec.c) that will take a command (a program name) and its parameters and will execute that command with those parameters. For example: "myexec Is -al" will execute the ls command with -al options. Consider simple commands and programs with no redirections of input/output and with no pipes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
