Question: 5. Write a script that creates an archive (.tar.gz) of log files created before a certain date & time and then delete .log files. 6.
5. Write a script that creates an archive (.tar.gz) of log files created before a certain date & time and then delete .log files.
6. Write a script that uses if and for statements to create a diamond pattern on screen (as shown below) based on the number provided by user.
enter a number
6
.
. .
. . .
. . . .
. . . . . .
. . . . . .
. . . . .
. . . .
. . .
. .
.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
