Back in nineteens, we do all of our work on computers with the aid of commands. At that time, there’s not any concept of GUI (graphical user interface). Still in Linux, command line interface is widely being used because its much faster to work in command line rather than of graphical user interface. So now in this post i’m listing the 7 important CMD commands. Let’s get into it.
Also see: 21 useful Run commands
10 Important CMD Commands
cd stands for change directory. This is a very commonly used command to navigate through different directories. The syntax of using this command is given below
c:\cd geeksripe – > here replace your desired folder name with geeksripe
Dir command is used to list all files in a particular folder. The syntax of using this command is as follows
CLS command is used to clear screen. Mean to say that it will clear all written text in console. The syntax of this command is given below
REN command is really handy command which is used to rename the folder. The syntax of using this command is as follows
Drive letter:\REN “Folder/file path to be renamed with extension” ”new name of the folder with extension”
C:\REN “c:\Geeksripe.txt” ”Computer Tips and Tricks.txt”
This command is used to create a new directory or folder in your desires location. The syntax of this command is given below
C:\md “folder name” without quotes
This command is used to list all the information related to your NIC (network interface card) i.e, ip address , mac address and default gateway etc.
This is another most commonly used command to copy file from one location to another.
C:\ copy “E:\geeksripe.txt” “C:\geekripe\”
This command is used to cut/move files in your desired location. The syntax of using this command is given below
C:\move “E:\geeksripe.txt” “D:\geeksripe.txt\”
Above are some of the most important and common CMD commands. If you have any question to ask related to that particular post then feel free to ask. Leave your question in the comments below.