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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the metacharacter mean?

1194


What is the behavioural difference between cmp and diff commands?

1342


What is the command to compare two files in unix?

1171


What is merge command in unix?

1561


What is a bash command?

1240


What does grep v do?

1100


Describe the usage and functionality of the command rm –r * in unix?

2185


What are file commands?

1290


What is in grep command?

1215


Which command is used to find whether the system is 32 bit or 64 bit?

1201


How do I run a bash script?

1241


What do know about tee command and its usage?

1249


Who command in unix?

1192


Can you enlist some commonly used network commands?

1158


How do you grep recursively?

1156