![]() By default, it does not ask you whether you want to copy one file over another file with the same name. $ cp example.txt ~/Documents/file.txtīe careful when using cp, because it does exactly what you tell it to do. $ cp example.txt ~/DocumentsĪs with the mv command, you can rename a file while copying it. To copy a file in a terminal, you use the cp command, which works exactly like the mv command, except that it duplicates the contents of a file rather than moving them from one location to another. Alternately, you might prefer to right-click on a file icon, select Copy, and then Paste the file icon into another window. ![]() ![]() To copy a file on a computer with a graphical interface, you usually either drag and drop a file from one window to another window, sometimes using a modifier key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |