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