
|
| ||||||||||||||||
IBM : developerWorks : Linux : Education - Tutorials![]() | |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
Now, we're going to take a quick look at the cp and mv commands, used to copy, rename, and move files and directories. To begin this overview, we'll first use the touch command to create a file in /tmp: The touch command updates the "mtime" of a file if it exists (recall the sixth column in ls -l output). If the file doesn't exist, then a new, empty file will be created. You should now have a /tmp/copyme file with a size of zero. | ||||
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|