Hi,
I use Linux, Red Hat 7.1, I am trying to write a shell script.Any help will be appreciated. Thanks.
Suppose I have a working folder called “DIR1” under that folder I have three existing files : FILE1, FILE2, FILE3, for a project.
Now after I compile those files and build two other new files were created : NEW1, NEW2.
I am writing a program/shell script which will verify all 5 FILES ( 3 existing and 2 newly created). This program will delete the newly created 2 files(NEW1,NEW2) and leave the previously existing 3 files (FILE1, FILE2, FILE3) unchanged. Another words the directory “DIR1” will go back to it’s original status.