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
What does #!/ Bin sh do?
How do I use grep to search for a file?
What is awk good for?
Which unix command lists files/folders in alphabetical order?
What is grep in bash?
How do I search for a file in unix command?
What does 'mkdir' command do in UNIX?
Which command is used to copy files?
Explain mount and unmount command.
What does this command do,"$more readme.txt“?
Explain the steps that a shell follows while processing a command.
What is in grep command?
Explain ‘library functions’ with respect to unix commands?
How to find $ai_serual resolved path by using unix
What command will change your prompt to myprompt?