Discover Explore Learn | Flat 15% Discount on all Courses | Use Coupon Code - JUNE15 During Checkout |

 Enroll Now

Linux Basics

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