Question: Using Linux, Write a bash script to Find all the files ending with .c recursively for every directory in your current working directory . Copy

Using Linux,

Using Linux, Write a bash script to Find all the files ending

Write a bash script to Find all the files ending with .c recursively for every directory in your current working directory . Copy each one to a folder called programs, o You may need to handle duplicates. Append a number to the end of the file name before the extension main.c, main-1.c main-2.c , etc) Compile them and generate a report. Your report should look something like main.c compiles prog2.c failed main-2.c compiles prog3.c compiles t2.c failed Write a bash script to Find all the files ending with .c recursively for every directory in your current working directory . Copy each one to a folder called programs, o You may need to handle duplicates. Append a number to the end of the file name before the extension main.c, main-1.c main-2.c , etc) Compile them and generate a report. Your report should look something like main.c compiles prog2.c failed main-2.c compiles prog3.c compiles t2.c failed

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!