Simple-script-to-backup-file

A simple loop to make a backup copy of all the files in a directory would look like this:

   $ for file in * ; do cp $file $file.bak; done