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
How do I search for text in vi?
why metadb requires a seperate slice to create Solaris volume manager
Which command should you use to find the remaining disk space in unix server?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is used to type command?
What is ‘ps’ command for?
What is unix command?
What difference between cmp and diff commands?
How many unix commands are there?
What do know about tee command and its usage?
What do chmod command do?
What is command substitution?
What is grep and how do you use it?
hw will u use awk in replacing cahrs and files
How does the system know where one command ends and another begins?