Skip to content

Instantly share code, notes, and snippets.

@smamran
Last active April 28, 2017 17:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smamran/8aa99ed2e02091a2af23 to your computer and use it in GitHub Desktop.
Save smamran/8aa99ed2e02091a2af23 to your computer and use it in GitHub Desktop.
windows-cmd

πŸ”« πŸ—‘ Windows Commands βš› πŸ’£

πŸ”ͺπŸ”§ Create a New File πŸ—‘πŸ”¨

>> NUL > file.txt

πŸ”ͺπŸ”§ Check Which Process is Listening Which Port πŸ—‘πŸ”¨

>> Run cmd.exe as Administrator
>> netstat -a -b

πŸ”ͺπŸ”§ List Process & Kill Process πŸ—‘πŸ”¨

>> tasklist | FIND "chrome"
>> tskill notepad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment