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
Explain command to view process running?
What is “chmod” command?
What is s and g in sed command?
How do I run a bash script?
What does find command return in unix?
What do know about tee command and its usage?
What does the “echo” command do?
Explain mount and unmount command.
Write a command that will display files in the current directory, in a colored, long format.
What is command substitution?
What do chown command do?
Is it inbetween or in between?
How many unix commands are there?
Differentiate cmp command from diff command.
What command is used to check the current users?