ForestNymph
New Member
Hello all . I'm new here. I'm currently learning linux and got confused with the cp command. Doesn't this command have the ability to rename a file?
Example: cp /home/student/Desktop/fencing /home/student/Desktop/ballet
I thought that the file "fencing" should be renamed to "ballet" when using the copy command. If the file "fencing" exist and I'm telling the terminal to copy "ballet" (that doesn't exit) over it, that should work right?
Example: cp /home/student/Desktop/fencing /home/student/Desktop/ballet
I thought that the file "fencing" should be renamed to "ballet" when using the copy command. If the file "fencing" exist and I'm telling the terminal to copy "ballet" (that doesn't exit) over it, that should work right?