Now that we are at the end of this lesson, let's do a lab.
Now, this lab is really a lab where
I want to demonstrate some additional stuff.
So if you're really good, you might be able to do it.
And otherwise, just jump to the lab solution.
So what am I going to do?
I'm going to write a script that makes
a copy of each file that has the txt extension.
And the copy should be named filename.txt.back.
And after making the copy, the script
should move it to the tmp directory.
While running the script, the directory
where it should look for the files
should be provided as an argument.
And if no argument was provided, the script
should stop with exit code 9.