Question: Please show step by step how to solve this question (answer is already posted multiple time on Chegg but I am not able to follow

Please show step by step how to solve this question (answer is already posted multiple time on Chegg but I am not able to follow it as I need someone to show me how to solve the exact example):

Write a shell script that will rename all the files in a directory. The first argument is a base name, second argument is a file extension. If the script is run as: bash_renumber.sh 25thAnniversary jpeg then the resulting files should have names like: 25thAnniversary001.jpeg, 25thAnniversary002.jpeg, 25thAnniversary003.jpeg, etc.

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!