The Command Line Part 3
Week 1 — The command line
Ok! A lot to cover within the command line, now onto a few further things.
Copying files This again is a fairly simple process in terminal you do the following “cp” example “cp file_name.type file_name_copy.type”. For windows on the other hand you use “copy”, example “file.type file.type_copy”. To copy to a new directory do the following “copy file_name new_dir” (the directory you copy to must be a child to the present location for this to work).

Moving files To move files in terminal we use the “mv” command, example (mv file.type ./folder). Entering “mv” without providing a new destination will enable you to rename the file. If we were to do this in windows the command would be “move” example “move document.type C:\Users\Steven\Desktop”. To rename a file in windows we use the command “rename” for example “rename document.type C:\Users\Steven\Desktop\ file_name.type new_name.type”