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

What is $0 bash?

0 Answers  


Which RAID Levels supported by LVM?

5 Answers  


what is exact definition of operating system?

13 Answers  


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


How do you find path of a directory? Give its syntax.

7 Answers  






What is the command to find maximum memory taking process on the server?

0 Answers  


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


What does mkdir up2date; touch outdated up2date do?

2 Answers  


Explain ‘library functions’ with respect to unix commands?

0 Answers  


how many types of file in unix?

34 Answers   MNC, TCS,


hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


What command will change your prompt to myprompt?

0 Answers  


Categories