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

Which command can you use to find the currently running process in unix server?

0 Answers  


how to unzip the contents of the gzip file

1 Answers   Epsilon,


What UNIX command will control the default file permissions when files are created?

4 Answers  


What do you mean by zambie process?

6 Answers  


what is the default signal kill in unix?

8 Answers   IBM,


Are you in or at the office?

0 Answers  


How do I delete files from command prompt?

0 Answers  


What do chmod command do?

0 Answers  


How do you create a directory in UNIX?

1 Answers  


What is the output of : $ ps-e $ ps-a commands

5 Answers   IBM,


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


What does grep v grep do?

0 Answers  


Categories