# Command Line Tutorials

The Windows command line is one of the most powerful utilities on a Windows PC. With it, you can interact with the OS directly and do a lot of things not available in the graphical user interface (GUI).

Note : Shortcut for opening command prompt in Windows : Windows(start) key + 'R' and then type "cmd"

COMMANDS:

### `chdir` or `cd` – Changes the Current Working Directory to the Specified Directory

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956356694/5fb1eae5-db1a-441c-9af8-66e840d6e8d0.png align="center")

### `ping` – Shows a Website IP Address, Lets you Know How Long it Takes to Transmit Data and a Get Response

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956562029/1619992e-b7d0-408f-aec8-fd0c4ae45265.png align="center")

### `color` – Changes the Text Color of the Command Prompt

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956597243/9088bfe3-9048-4462-814b-08ea39ac3444.png align="center")

### `ipconfig` – Shows Information about PC IP Addresses and Connections

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956633101/824765af-c0b0-415f-973f-1539a1c700c8.png align="center")

### `mkdir` – Creates a Folder

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956692642/364ef49c-4b0d-40a1-b0c5-a45815363c25.png align="center")

### `rmdir` – Deletes a Folder

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956756236/0e8802f3-b731-45e8-bfff-a681a9b97180.png align="center")

### `ren` – Renames a File with the Syntax `ren filename.extension new-name.extension`

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673956794758/29d6b297-bb0a-4456-97e7-1f6a607b9064.png align="center")

### `cls` – Clears the Command Line

### `touch` – Creates a new empty file

### `del` – Delete the file in a folder

### `cd ..` – Go back to the previous folder

Note:

Shortcuts -&gt;

1. Use "Tab" to write the obvious text automatically
