Question: C program when list command is entered then list must list all the files in the current directory. then list invoked with option z as
C program
when list command is entered then list must list all the files in the current directory.
then list invoked with option z as list -z command,
list -z must list all the files in the current directory that the user has permissions to execute.(all .c files in the directory)
and then execute those executable files
take example of sum of two numbers(sum.c) and hello world(helloworld.c)
post out put with photos on command line or terminal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
