4 Write Script Using Loop Construct Counts Number Directories Looping Files Directory Name Q43908316

Take Note:
![Submit as a shell script file that can be run. (25x4]](https://media.cheggcdn.com/media/0dc/0dc9f0bd-659a-4ac6-8cc7-d4b57ef12fd3/phpvBuWlh.png)
4. Write a script using the for-loop construct that counts the number of directories looping through the files in the directory name provided by the user on a prompt by the script. Submit as a shell script file that can be run. (25×4] Show transcribed image text 4. Write a script using the for-loop construct that counts the number of directories looping through the files in the directory name provided by the user on a prompt by the script.
Submit as a shell script file that can be run. (25×4]
Expert Answer
Answer to 4. Write a script using the for-loop construct that counts the number of directories looping through the files in the di…
OR