Question: In Unix, write a script that uses a for i type control structure to check all of the files in the directory /var/log/ Test if

In Unix, write a script that uses a for i type control structure to check all of the files in the directory /var/log/ Test if the file is a directory and has an executable permission, if true, echo the name of the file. Six directories should be returned.

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!