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,

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
Get step-by-step solutions from verified subject matter experts
