How do you copy a directory with many files and folders into
another directory?

Answers were Sorted based on User's Feedback



How do you copy a directory with many files and folders into another directory?..

Answer / guest

cp -R <source_dir> <dest_dir>

Ex: cp GUI ../TEST

Is This Answer Correct ?    11 Yes 2 No

How do you copy a directory with many files and folders into another directory?..

Answer / ashok jayan

cp -rf <source_dir> <dest_dir>

Note: r - Recursively, f - Forcefully

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

How we will execute previous command in vi editor?

8 Answers   Infosys,


how will u execute a file in unix

8 Answers   QA,


Briefly, how do you install Oracle software on UNIX.

2 Answers  


How do you know about running processes of a particular user?

11 Answers  


Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?

10 Answers   Infosys,






How to delete a directory containing files and folders?

3 Answers  


Is command prompt unix?

0 Answers  


write grep commands to select the lines that have exactly two characters

8 Answers   PSI Data Systems,


29. How to display top 10 users Who | head -10 | wc –w

4 Answers   TCS,


what is kernel?

6 Answers  


distinguish between interrupts and exceptions?

2 Answers   Infosys,


What does 'mkdir' command do in UNIX?

0 Answers   Syntel, Visa,


Categories