Command Prompt Commands

Before I was a developer, always found very cool the command prompt console. So when I started to learn code, I also investigated about this. And was very handy sometimes and I felt like a hacker. 😎 So here it goes!

Change directory

Is a command used to change the current working directory

cd <name of the folder that you want to open>

Create a new directory

Is a command that allows you to create a new folder

mkdir <name of the new directory>

Create a new directory and open it

Is a command used to create a new directory and open it right after created

mkdir <name of the new directory> && cd <name of the new directory>

Move up to one directory

Is a command used to move you up one directory

cd ..

Check files inside a folder

Is a command used to show all the files that you have inside a directory

dir

Clear

Clear all console

cls

Open your project in visual studio code

Opens a new window of visual studio code with your selected project

code .

Leave a comment