Monday, September 23, 2013


CMD / Command Prompt!!



Hey Guys this is $K Again :]

Well i know some may be thinking that this new admin has gone mad
And writing tutorials on CMD??
Isn't it...?
For the people thinking like this..
I have a surprise pack in this post :)
And I am very serious about that :)

For any hacker,programmer or any windows user thinking about going to use Linux..
knowing this command line interface is very important
ACCORDING TO WIKIPEDIA:-
Command Prompt (executable name cmd.exe) is the Microsoft-supplied command-line interpreter on OS/2, Windows CE and on Windows NT-based operating systems (including Windows 2000, XP, Vista, 7, 8, Server 2003, Server 2008, Server 2008 R2 and Server 2012). It is the analog of COMMAND.COM in MS-DOS and Windows 9x systems (where it is called "MS-DOS Prompt"), or of the Unix shells used on Unix-like systems.
When anyone thinks about the command line a image comes to his/her mind which is like :-


Isn't it??
Well let's come to the point haha :)
First let's start the cmd :p
Just being type of manual
OS Command Notes Windows 3.1,.3.11, 95, 98, ME command.com This program when run will open up a command prompt window providing a DOS shell. Windows NT, 2000, XP, 2003 cmd.exe This program will provide the native command prompt. What we call the command prompt. Windows NT, 2000, XP, 2003 command.com This program will open up a emulated DOS shell for backwards compatibility. Only use if you must.
Now the steps :-

Step 1: Click on the Start Menu
Step 2: Click on the Run option
Step 3: Type the appropriate command in the Open: field. For example if we are using Windows XP we would type cmd.exe.
Step 4: Click on the OK button :)
That's it!!
Now let's learn some useful codes..!

Well For having some fun and excitement i have divided that into different catagories :)

Top 3 Basic Commands :

  • cd- cd stands for choose directory

  • cls- --"-- clear screen

  • exit- --"-- to close cmd window..

Top 3 most needed Commands:


  • ping- this gives you the ip address of any server or website :)

  • netstat- gives a list of all the current ports and connected ips..

  • netusers - give a list of all the users on the computer and also the passwords *__*


Top 3 commands for having Fun :D


  • color 0a( i would prefer this as this gives u a feeling like a pro) - this changes the text color to green

  • tasklist- displays all running tasks :)

  • choice - actually this command is usedd in batch programming for giving options.. if u type this in cmd it will give u a set of options *__*



Let's see how a pro cmd window looks like :p

Keep Learning

0 comments :

Post a Comment