Command line Flashcards
What is the command to see a list of options?
Command followed by /?
What is the ping command used for?
To troubleshoot connectivity, reachability, and name
resolution
What are the following ping commands used for?
- t
- L
- i TTL
- Specifies to continue to send ping until interrupted
- Specifies the length in bytes
- Specifies the number of hops
What is the Arp command used for?
Displays and modifies entries in the Address Resolution Protocol (ARP) cache, which contains one or more tables that are used to store IP addresses and their corresponding physical addresses (MAC addresses)
What is the tracert command used for?
Determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination with incrementally increasing Time to Live (TTL) field values
What is the nslookup command used for?
Can be used to query DNS in either interactive or non interactive mode
What is the ipconfog command used for?
Displays all current TCP/IP network configuration
values and refreshes Dynamic Host Configuration
Protocol (DHCP) and Domain Name System (DNS)
settings.
What does /all when used with ipconfig do?
Displays the full TCP/IP configuration for all adapters.
What does /displaydns when used with ipconfig do?
Displays the contents of the DNS client resolver cache, which includes both entries preloaded from the local Hosts file and any recently obtained resource records for name queries resolved by the computer. The DNS Client service uses this information to resolve frequently queried names quickly, before querying its configured DNS servers.
What does /flushdns do?
Clears the DNS client resolver cache
What are host files?
Preloaded DNS resource store on your computer
What is the netstat command used for?
Displays active TCP connections, ports on which
the computer is listening
What does -a used with the netstat command do?
Displays all active TCP connections and the TCP and UDP ports on which the computer is listening
What does -n used with the netstat command do?
Displays active TCP connections with addresses and port numbers expressed numerically. No attempt is made to determine names
What does -o used with the netstat command do?
Displays active TCP connections and includes the process ID (PID) for each connection