10 Basic CMD Commands for Beginners
Discover the power of the Windows command line in simple words
CMD (Command Prompt) is a tool that is present on every Windows computer and looks like a black window where you can give commands directly to your computer. Although it looks a little scary at first, it is very useful for doing various tasks quickly and easily. In this article, we will look at 10 basic commands that every beginner should know!
1 dir
dir
The order dir shows you all the files and folders that exist in the location you are currently in. It's like opening Windows File Explorer, but with text.
Why is it useful?
When you're not sure what's in a folder, this command shows you all its contents with details like size and creation date.
2 cd
cd Desktop
The order cd (which stands for "change directory") allows you to move from one folder to another. It's like navigating through the folders on your computer.
Example of use:
If you write cd Desktop, you will be taken to your Desktop folder. If you want to go back, type Cd .. (with two dots).
3 class
cls
The order class clears the CMD screen and deletes all previous text you have written or displayed. It is like "refreshing" the window.
When do we use it?
When the screen fills up with a lot of text and you want to start from the beginning to see more clearly what you're doing.
4 ipconfig
ipconfig
The order ipconfig shows you information about your internet connection, such as your computer's IP address (a unique number that identifies you on the network).
Why is it useful?
If you're having trouble with your internet connection, this command can give you important information to help you figure out what might be going wrong. It's also useful when you need to configure something on your network.
To open CMD, press the Windows key and type "cmd" or "command prompt." A black window with text will appear. Don't worry if you make a mistake - most commands are safe to try!
5 ping
ping google.com
The order ping It checks if you can communicate with another computer or website on the internet. It sends a message and measures how long it takes for it to come back.
Practical use:
If your internet is slow, you can write ping google.com to see if the problem is with your connection or the website you are trying to visit.
6 copy
copy file.txt Desktop
The order copy copies a file from one location to another. It's like "copy-paste" with the mouse, but with a command.
Example:
If you write copy test.txt Desktop, you will copy the file "test.txt" to your Desktop.
7 of the
del filename.txt
The order of the deletes a file. It is important to be careful when using it, because the file is permanently deleted without going to the Recycle Bin!
Caution!
Always make sure you spell the name of the file you want to delete correctly. Once you press Enter, there is no "undo"!
8 mkdir
mkdir NewFolder
The order mkdir (which stands for "make directory") creates a new folder in the current location.
Use:
If you write mkdir Projects, a new folder named "Projects" will be created where you are currently.
9 systeminfo
systeminfo
The order systeminfo shows you detailed information about your computer: which version of Windows you have, how much RAM you have, when the operating system was installed, and much more.
When is it useful?
When you want to know details about your system or when you need to give information about your machine to someone who is helping you with a problem.
10 exit
exit
The order exit it just closes the CMD window. It's the way to exit the command prompt when you're done with your work.
Simple and useful:
Instead of clicking the "X" in the corner of the window, you can simply type exit and press Enter!
You can use the TAB key to autocomplete file and folder names. You start typing the name and press TAB - CMD will fill in the rest automatically!
Conclusion
CMD may seem complicated at first, but with these 10 basic commands you have a good start! The more you use it, the more comfortable you will feel. Don't be afraid to experiment - the best learning comes with practice. Starting with these simple commands, you will slowly discover how powerful a tool CMD is and how it can save you time in your daily computer use!
Loading comments...