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 the metacharacter mean?
What is the behavioural difference between cmp and diff commands?
What is the command to compare two files in unix?
What is merge command in unix?
What is a bash command?
What does grep v do?
Describe the usage and functionality of the command rm –r * in unix?
What are file commands?
What is in grep command?
Which command is used to find whether the system is 32 bit or 64 bit?
How do I run a bash script?
What do know about tee command and its usage?
Who command in unix?
Can you enlist some commonly used network commands?
How do you grep recursively?