## Introduction to the Command Line

Prior to learning GDAL or scripting it is important to learn the Command Line and how to use commands from the command prompt.

### 5. Copy, move, rename & delete files

#### 5.2. Move and rename files

Now we're going to move newlist.txt to the directory John.

1. First go back to the root of the C-drive.

2. Type:
move newlist.txt John <ENTER>

2. Go to the subdirectory John and check the directory listing.

3. Because it is a bit confusing to have a copy of newlist.txt in subdirectory John, we're going to rename it:
rename newlist.txt listjohn.txt <ENTER>

4. Check the directory listing again.

5. Save the directory listing to a file called dirjohn.lst