Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a bash script to find all the files ending with .c recursively for every directory in your current working directory, then copy each one
Write a bash script to find all the files ending with .c recursively for every directory in your current working directory, then copy each one to a folder called programs, need handle duplicates by appending the number to the end of the file (ex main.c main-1.c ) compile them and generate a report
report should look like:
main.c compiles
prog2.c failed
main-2.c compiles
etc.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started