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 are the unix commands?
What does the “echo” command do?
What does the metacharacter mean?
Explain ‘library functions’ with respect to unix commands?
What is grep short for?
How do I clear my terminal history?
How do I find previous commands in unix?
What are the commands in UNIX to list the files in a Directory?
How do you repeat a command in terminal?
What does grep v grep do?
What is the difference between cat command and more command?
What is the unix command to confirm a remote host is alive or not?
What does the command ' $who | sort –logfile > newfile' do?
What does sed command do in unix?
Which command can you use to find the currently running process in unix server?