Write a script called rename that will take two arguments: the first argument is the name of the original file and the second argument is the new name for the file. If the user does not provide two arguments, a usage message will appear on the screen and the script will exit. Here is an example of how the script works:
$ rename
Usage: rename oldfilename newfilename
$
$ rename file1 file2
file1 has been renamed file2
Here is a listing of the directory:
a file2
b file.bak