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 do you execute a UNIX command in the background?

6 Answers  


What is grep and how do you use it?

0 Answers  


How does shebang work?

0 Answers  


what do you understand by 'building block primitive'?

3 Answers   Infosys,


By using which command we can find the CPU utilization time?

7 Answers   Amazon,






Are you in or at the office?

0 Answers  


How to display a file name which has zero bytes in size.

11 Answers   Polaris,


In UNIX, what is the command to edit contents of the file?

9 Answers  


what is the function of grep command?

4 Answers  


what is the use of ls -l command & what is the information it gives about user ?

5 Answers  


Explain command to view process running?

0 Answers  


In Unix file permissions what does the second field denotes?

3 Answers  


Categories