Basic windows command lines for ethical hacking.

To open command line. Go to start menu and type "cmd" without quotations. And it will start command prompt.

To go to C:\> drive type cd\

To create a directory type mkdir directory_name.
C:\>mkdir Isuru
To insert some text into notepad.
C:\>echo Leann will come again. > leann.txt
To list tasks.
To find specific task.
C:\>tasklist | findstr firefox
To kill a task.
C:\>taskkill /PID 6880 /F
6880 is the process id. And /F will kill the task forcefully. To write all tasks into a file.
C:\>tasklist > qwe.txt
To change color of command prompt.
C:\>color a
To view all the files in your drive in tree view.
To view ip information.
To ping any web address.
To trace route.
Netstat This is to display the TCP/IP network protocol statistics and information.
To list the users.
C:\>net user
To delete the user.
C:\>net user sam/DELETE


  1. Good post, great for us. Let me go back the following once again & once again...: )

    Malware Removing
    Ethical Hacking


Post a Comment

Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

Regular Expression Route Constraints And Route Names in Laravel 5.4