Command line Flashcards

1
Q

What is the command to see a list of options?

A

Command followed by /?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the ping command used for?

A

To troubleshoot connectivity, reachability, and name

resolution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the following ping commands used for?

  • t
  • L
  • i TTL
A
  • Specifies to continue to send ping until interrupted
  • Specifies the length in bytes
  • Specifies the number of hops
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Arp command used for?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the tracert command used for?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the nslookup command used for?

A

Can be used to query DNS in either interactive or non interactive mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the ipconfog command used for?

A

Displays all current TCP/IP network configuration
values and refreshes Dynamic Host Configuration
Protocol (DHCP) and Domain Name System (DNS)
settings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does /all when used with ipconfig do?

A

Displays the full TCP/IP configuration for all adapters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does /displaydns when used with ipconfig do?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does /flushdns do?

A

Clears the DNS client resolver cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are host files?

A

Preloaded DNS resource store on your computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the netstat command used for?

A

Displays active TCP connections, ports on which

the computer is listening

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does -a used with the netstat command do?

A

Displays all active TCP connections and the TCP and UDP ports on which the computer is listening

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does -n used with the netstat command do?

A

Displays active TCP connections with addresses and port numbers expressed numerically. No attempt is made to determine names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does -o used with the netstat command do?

A

Displays active TCP connections and includes the process ID (PID) for each connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does interval used with the netstat command do?

A

Redisplays the selected information every Interval in

seconds

17
Q

How do you output a command into a text file?

A

Type command and the >filename.txt

Typing&raquo_space;filename.txt will add to you already exisiting file

18
Q

What is a batch file? (.bat)

A

a text file which contains a series of commands that you wish to run