What command will you choose to copy all files and subdirectories?
Answers
Answered by
2
Answer:
Explanation:
Explanation: -R option is used to copy an entire directory structure into another one recursively. Here recursively means that the command can descend a directory and examine all the files in its subdirectories and then it will copy the entire structure.
Answered by
1
To copy of all files and sub directories, we will use 'cp command'.
Explanation:
- In order to copy a directory along with all the sub directories and files, we have to use the cp command.
- The syntax of the cp file is, [~]$ cp.
- An example of the command is given as below,
Cp –r /home /hope /files /*
- Here the cp command, will copy all of the files, directories and all the sub directories in the home – hope – files directory to the backup directory file.
To know more about copying of directories,
1) What task would you use to copy move or delete files?
https://brainly.in/question/4916722
2) What command will you choose to copy all files and subdirectories?
https://brainly.in/question/11311402
Similar questions