Now, I've created two new folders in my/root directory, one is/root/aaa the other is/root/bbb. There are 5 text files in the/root/aaa. 1.txt, 2.txt, 3.txt, 4.txt, 5.txt respectively. 1.txt file content is "This is a 1.txt file." 2.txt file content is "This is a 2.txt file." , and so on.
The/ROOT/BBB folder is empty. We now learn to use commands in the terminal to move, copy, and delete files in the/root/aaa.
The first is the mobile command CP. We use the left mouse button click "Start"--> "Application"--> "Attachment"--> "System Terminal", open the terminal. We enter the command cp/root/aaa/1.txt/root/bbb/a.txt. The meaning is to copy the 1.txt files from the/root/aaa/folder into the/root/bbb/folder and name it a.txt. Let's see if the contents of the A.txt file in the/ROOT/BBB folder are the same as the 1.txt file.
Now let's go to the/ROOT/BBB folder and see if there's a a.txt file?