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 to redirect standard error to a file?

2 Answers  


What is grep and how do you use it?

0 Answers  


How do I find previous commands in unix?

0 Answers  


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


what is kernel?

6 Answers  






in unix echo is used for

10 Answers   BFL, BirlaSoft, Patni,


how to find the 51th record of a file containing 100 records in unix.

12 Answers   IBM,


The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above

4 Answers   IBM,


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

5 Answers  


What does #!/ Bin sh do?

0 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


Categories