Write a shell script filesreneamsh that takes a list of


Problem

Write a shell script filesreneam.sh that takes a list of input file names (e.g. generated using a wildcard character) and makes copies of those files to new filenames with predefined prefex and suffix strings. Use variables to hard code the prefex "new " and suffix "dat" to replace "pdb". Use a conditional to detect if there are one or more input filenames and take the appropriate action as shown below. Use a for loop to iterate through the file names where each iteration extracts the file name root ,, copies the file to the new file name, and echoes the result.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a shell script filesreneamsh that takes a list of
Reference No:- TGS02779391

Expected delivery within 24 Hours