cs160aCPcommands

The flashcards below were created by user Anonymous on FreezingBlue Flashcards.

  1. cp file1 file2
    copy file1 to file2. file2 is overwritten if it exists
  2. cp file1 [ . . . filen] dir
    copy one or more files to an existing directory
  3. cp -r dir1/. dir2
    copy everything in dir1 to dir2 (including hidden items)
  4. cp -r dir1 . . . dirn dir2
    copy one or more directories and their contents into the existing directory dir2
Author:
Anonymous
ID:
315587
Card Set:
cs160aCPcommands
Updated:
2016-02-09 05:17:27
Tags:
cp cs160a linux computer compsci cholmes cholme14 christopherholmes
Folders:

Description:
cp and mv commands from cs160a Week 3
Show Answers: