Linux Basics for Big Data

19 / 87
Copy a directory into another directory

Question-

  1. Create a directory "src"

    mkdir src
    
  2. Create a file in "src"

    touch src/myfile.txt
    
  3. Create a directory "proj"

    mkdir proj
    
  4. Copy the src into "proj"

    cp -r src proj