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

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

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!