cmds Flashcards

1
Q

windows/unix/linux
arp -a

A

shows the mac address (Layer 2) for a known IP address (Layer 3)

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

WINDOWS TCP CONFIG

ipconfig

ipconfig/all

ipconfig/release

ipconfig/renew

A

Displays IP address configuration parameters on a Windows PC

Provides additional configuration information

Releases a DHCP IP address from the PC

Requests an IP address from DHCP server

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

ping

ping -n 10

ping -t

ping -6

A

Used to check IP connectivity between two devices, most often for network troubleshooting

Ping 10 times

Ping forever

Ping using IPv6 addresses

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

Windows
tracert

tracert 209.85.135.99

tracert www.diontraining.com

tracert -6 www.google.com

A

Displays the path between your device (the source) and the destination IP address, showing each route hop along the path

Displays the routers between your computer and the computer at 209.85.135.99

Displays the routers between your computer and the computer at www.google.com

Traces the route using IPv6

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

netstat(Network Statistics)SAME AS UNIX

netstat -a

netstat -b (windows)

netstat -n

netstat -r (only option for linux)

A

Displays information for IP-based connections on a PC including current sessions.

Displays all connections and listening ports betwen your machine and a local device

Shows binaries or executables being used in order to create network traffic

Displays statistics for without any fqdn just ip’s (IPv4 and IPv6, TCP, UDP, and ICMP)

IP routing table

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

WINDOWS AND LINUX
nslookup

nslookup www.diontraining.com

nslookup<enter></enter>

A

Resolves fqdn to an IP address

provides ip for given domain name

interactive mode for nslookup

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

WINDOWS
route print

route delete 192.168.1.1

route add 192.168.1.1 192.168.2.1

A

Used to change or display the PC’s current IP routing table

Displays the contents of the IP routing table

Deletes an entry from the IP routing table with IP 192.168.1.1

Adds a routing from 192.168.1.1 to 192.168.2.1

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

LINUX

ifconfig -a

ifconfig down

ifconfig up

A

Provides additional configuration information

Turn off the network adapter

Turn on the network adapter

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

(UNIX/LINUX/MAC)
traceroute

traceroute 209.85.135.99

traceroute www.diontraining.com

traceroute -6 www.google.com

A

Displays path between your device and destionation IP
Routers between your computer and the typed in IP
Displays routers between your computer and the typed domain name
Traces route using IPv6

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

(UNIX)

Dig(Name Server Lookup)

Dig -t mx google.com

A

Resolves a FQDN to an IP address and provides more info than nslookup

Looks up the mail records (mx) for google.com

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

LATEST LINUX
ip address

A

gives you local network adapter information

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

windows/linux/macos
hostname

A

View the FQDN of the computer youre on

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