Many shell scripts involve copying, moving, or removing files.
All of these tasks can easily be handled from a standard shell. Copying Files Copying files can be done with the cp command. Source lists containing more than one file must be followed by a destination directory. When copying a single file, the destination argument can be a directory to copy the file into, or the name of the new file to create. Moving Files Moving or renaming files from the Unix Shell is done with the mv command.