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...


How can you copy files or directories?



How can you copy files or directories?..

Answer / hr@tgksolutions.com

To duplicate files or directories, UNIX offers the cp command. For copying files, the syntax is cp source_file destination_directory/. If duplicating a directory, the -r option (meaning recursive) must be added, as in cp -r source_directory destination_directory/. This ensures all sub-files and sub-directories are replicated too. The cp command is fundamental when backing up data or creating duplicate research resources.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

How does shebang work?

0 Answers  


Why is it called grep?

0 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


What is sed awk grep?

0 Answers  


what is the default signal kill in unix?

8 Answers   IBM,


How to add content of one file into another file at the beginning

12 Answers  


what is the command to print last 8 lines of any text file.

10 Answers  


to list a particular line in the file

5 Answers  


what is the use of uniq commmand?

8 Answers  


How do I search a whole word in vim?

0 Answers  


What is a command and examples?

0 Answers  


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  


Categories