subject

1. Write a shell script, renumber. sh, 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: $ renumber. sh 25thAnniversary jpeg then the resulting files should have names like: 25thAnniversary001.jpeg, 25thAnniversary002.jpeg, 25thAnniversary003.jpeg, etc. Before renaming a file, make sure that a file with the new name does not already exist. If one does, handle the exception appropriately.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Which one of the following functions is not available on the autosum tool? sum average if max
Answers: 3
question
Computers and Technology, 24.06.2019 18:30
Jacking is a crime that takes place when a hacker misdirects url to a different site. the link itself looks safe, but the user is directed to an unsafe page
Answers: 1
You know the right answer?
1. Write a shell script, renumber. sh, that will rename all the files in a directory. The first argu...
Questions
question
English, 18.08.2019 11:30
Questions on the website: 13722362