2 script for assignment.

I need a script that will check if what I input is a file or not.

Also a short script that copies a file that I tell it to, to a directory I tell it to.
Thanks. Those are the only 2 I need, I got the other 8 done.

Please read our rules and note:

(6) Do not post classroom or homework problems.

I will close both of your threads.