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

Answers were Sorted based on User's Feedback



hi i have directories within the directory. Now i want to copy the directory along with all directo..

Answer / anshul basra

Try this command:

cp -r /home/anshul/files/* /home/anshul/backup

It will recursively copy all the content of directory
called 'files' to the directory 'backup'.

Hope this will help you..!
Takecare..

Is This Answer Correct ?    29 Yes 2 No

hi i have directories within the directory. Now i want to copy the directory along with all directo..

Answer / vijayahire

cp -r /home/data/files/* Desktop/backup



location where u want paste

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

what is shell?

3 Answers  


when we installing aix os the ssh installed default?

2 Answers  


Is it inbetween or in between?

0 Answers  


What command would users use to see what file one page at a time in UNIX?

7 Answers   IBM,


What is the significance of the 'tee' command?

0 Answers  






boot process?

2 Answers   Atos Origin, Wipro,


What is the basic difference between unix and windows operating systems?

43 Answers   Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,


What command will change your prompt to myprompt?

0 Answers  


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

9 Answers  


what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


Describe the usage and functionality of the command rm –r * in unix?

0 Answers  


What is the command to compare two files in unix?

0 Answers  


Categories