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

What command is used to replace the existing string with some other?

8 Answers   TCS,


What is pid?

4 Answers  


How do you know about running processes of a particular user?

11 Answers  


use of ls command

9 Answers  


How do you stop a running process?

7 Answers  


what is virtual machine?

2 Answers   Infosys,


Differentiate cat command from more command.

0 Answers  


what is shell?

5 Answers  


Explain the steps that a shell follows while processing a command.

0 Answers  


Explain ‘system calls’ with respect to unix commands?

0 Answers  


What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


What is the use of sed command in unix?

0 Answers  


Categories