Question: Please show me how to write a bash script and a loop to count the files Script: Count the files in the directory Goals: Write

Please show me how to write a bash script and a loop to count the files
Script: Count the files in the directory Goals: Write a bash script Use linux shell commands within your script Provide user feedback We have a lot of files in this archive. Create a script to count each file in the archive using a loop. Name the script filecounter.sh The script should take a target directory and output: Number of files in :: However, this is not the goal. The goal is to work with Bash script to accomplish this. If your script is simple this command, you will not gain full points. Yes - I realize I'm asking you to do something "less efficient" - this is for the sake of practice. Use CHMOD to make the script executable. Run it and take a screen shot of the result and put it in your answers file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
