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

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!