Answered step by step
Verified Expert Solution
Question
1 Approved Answer
--------------Using C language or shell scripting ----------- Read the name of a C file with full path , move it to a newly created folder
--------------Using C language or shell scripting -----------
Read the name of a C file with full path , move it to a newly created folder named "C" under the home directory, change the working directory to this directory, rename the file by appending current date, Compile the program and save the compilation results in a file named "CC_Cfilename_date". if compilation is successful display the message "run your program " on the screen otherwise, display the message " check compilation results in the file'cc_cfilename'"
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