Command Line Flashcards

1
Q

ping command

A

Test reachability to a TCP/IP address

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

ping -t command

A

Ping until stopped with Ctrl-c

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

ping -a command

A
  • Resolve address to a hostname
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ping -n command

A
  • Send # of echo requests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ping -f command

A
  • Send with Don’t Fragment flag set
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ipconfig command

A
  • Windows TCP/IP config
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ipconfig /all command

A
  • Display all IP configuration details
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ipconfig /release command

A
  • Release the DHCP lease
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ipconfig /renew command

A
  • Renew the DHCP lease
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ipconfig /flushdns command

A
  • Flush the DNS resolver cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ifconfig command

A
  • Linux interface configuration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ip command

A
  • The latest Linux/ MacOs utility to get ip configurations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

nslookup command

A
  • Windows Lookup information from DNS servers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

dig command

A

Linux/MacOs Lookup information from DNS servers.

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

traceroute command

A
  • Linux/MacOs. Determines the route a packet takes to a destination.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

tracert command

A
  • Windows. Determines the route a packet takes to a destination.
17
Q

arp command

A
  • Used to grab MAC addresses known by the local machine.
18
Q

arp -a command

A
  • View the local ARP table
19
Q

netstat command

A
  • Displays local TCP connections, routing tables, and other statistics.
20
Q

netstat -a command

A
  • Show all active connections
21
Q

netstat -b command

A
  • Show binaries
22
Q

netstat -n command

A
  • Do not resolve names
23
Q

hostname command

A
  • Shows the FQDN and IP address of the device in use.
24
Q

route command

A
  • Shows the devices routing table.
25
Q

tcpdump command

A
  • Linux/MacOs Capture packets from the command line.
26
Q

WinDump command

A

Windows. Capture packets from the command line.

27
Q

nmap command

A
  • Network mapper, find network devices. Port scan
28
Q

show interface command

A
  • Show the interfaces on a device.
29
Q

show config command

A
  • Show the device configuration.
30
Q

show route command

A
  • Show the devices routing table.