Hi all need a project done there are 6 parts to this ill leave one part here for you to do to prove you can do it ill send the rest to the person he does the best this needs to be done for bash in centos 6.2 thank you.
Produce a text file that contains a report with the following information based on a tar
• The number of files with the extension .sh in this tar archive,
• The number of directories,
• The date and time this archive was constructed.
An example text file this script can produce could contain:
[url removed, login to view] contains 4 files with extension .sh
[url removed, login to view] contains 2 directories
[url removed, login to view] was created on Sep 10 at 08:45
The script should ask for a tar archive name, validate the archive exists, and act
accordingly. The script should also take precautions in case the report file name