TCP/IP IN THE COMMAND LINE
Netsh
A built-in command line scripting utility that allows you to display and modify network configurations of the local computer
Nbtstat
Displays NetBios over TCP/IP statistics for logical and remote computers
NSLookup
Displays information about DNS names and their corresponding IP addresses and can be used to diagnose DNS servers
Ipconfig
Displays information pertaining to your network adapter, namely TCP/IP configuration
FTP
Is an application layer protocol as well as an application. Is used in the command prompt to connect to FTP servers
Route
Lets you display and make changes to the local IP routing table of the computer
Command Prompt
Microsoft's version of a command-line interface or CLI
Ping -t
Ping a computer continuously
Tracert
Shows paths to a destination on another network. It does this by pining each step along the way three times
Pathping
Similar to tracert, but also computes the degree of packet loss
TCP/IP commands
These commands can help you analyze and troubleshoot various networking issues that might occur.
ipconfig /flushdns
This empties the DNS cache
Domain Name System
This is the name for DNS
Netstat
Used to display active TCP (or UDP) connections
Telnet
Used to take control of a remote computer via the command line
Ping
Used to test the existence of other hosts on the network
ipconfig /all
a command with a switch added that will show information such as the MAC address and the IPv6
ping localhost
another command for ping loopback
cd\
changes prompt to C:\> without any additional folders.
cls
clears the command prompt screen and any history buffer.
ctrl+C
command used to stop a ping
ipconfig /displaydns
displays Domain Name System records for the client computer, including localhost connections
netstat -e
displays Ethernet statistics such as the number of packets and bytes sent and recieved
netstat -n
displays ONLY TCP connections in a numeric format
netstat -an
displays TCP and UDP connections in numeric format
cls /?
displays the help for the cls command
netstat -r
displays the route table
elevated mode
running command prompt as administrator
ctrl+Shift+Enter
shortcut to run cmd in elevated mode
netstat
the command used to display TCP or UDP connections
pipe
the word for the "|" symbol that mean "or"
netstat -s
this command displays statistics per protocol such as TCP, UDP, IMCP, and IP
ipconfig /release
this command releases any IP configuration received from a DHCP server
ipconfig /release6
this command releases any IP configuration received from a DHCP server specifically for an IPv6 address
ipconfig /renew
this command retrieves an IP address and other IP configurations
ipconfig /allcompartments
this command shows the adapters in their compartmentalized format
ipconfig /registerdns
this registers the computer with the nearest DNS server
dir /?
this shows the help file for the directory command