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 does the command 'wc' do?

4 Answers  


How do you move or rename a file or directory?

1 Answers  


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


Who invented grep?

0 Answers  


How to install scsi driver in unix? give me explanation clearly?

1 Answers   HCL, TCS,


Enlist some filename manipulation commands in unix.

0 Answers  


What are the differences among a system call, a library function, and a unix command?

0 Answers  


what is the use of "grep" command?

6 Answers   HCL,


if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


in UNIX,How to copy file into directory?

5 Answers  


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

0 Answers  


Where LOG fiels resides in AIX and pls tel me how to remove the log file

6 Answers   Vestas,


Categories