Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 the difference between pipe (|) and tee command in unix

14 Answers   Cap Gemini, TCS,


How do I use grep to search for a file?

0 Answers  


What is the first character of the output in ls l command?

0 Answers  


What is the functionality of a top command?

0 Answers   Amazon,


What is unix command line?

0 Answers  


What do chmod, chown, chgrp commands do?

0 Answers  


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

0 Answers  


What does the command '$ls | wc –l > file1' do?

0 Answers  


What is an Unix command to convert HEX value to ASCII value located in any flat file.

2 Answers  


Explain command to show the space allocation of files?

0 Answers  


What is pid?

4 Answers  


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

7 Answers  


Categories