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 #!/ Bin sh do?

1016


How do I use grep to search for a file?

1011


What is awk good for?

1088


Which unix command lists files/folders in alphabetical order?

1659


What is grep in bash?

1007


How do I search for a file in unix command?

975


What does 'mkdir' command do in UNIX?

1238


Which command is used to copy files?

1120


Explain mount and unmount command.

1144


What does this command do,"$more readme.txt“?

1100


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

1162


What is in grep command?

1119


Explain ‘library functions’ with respect to unix commands?

1113


How to find $ai_serual resolved path by using unix

1638


What command will change your prompt to myprompt?

1251