There are no files in the dog folder now. Create an a file. Now the directory is tmp. You need to enter the dog directory and create the file again.
3. The file has been created. Next, copy a.txt into b.txt and use the cp command.
If you want to copy multiple files in linux, you need to create a new directory, and then copy the files into this directory. Create a directory. Directory.
5. Also use the cp command to copy a.txt b.txt to the cat directory. Cp a.txt b.txt cat, repeated operations will be directly replaced.
6. To copy a folder, you need to take the parameter -R, handle the files and subdirectories in the specified directory together, copy like a file and display an error message.
7. You can see that the folder has been copied successfully without any prompt information.