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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!