COMMAND Flashcards

1
Q

ping

A

primary TCP/IP command used to troubleshoot connectivity, reachability, and name resolution.
roundtrip time (ICMP)
ex:(ping IP address)

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

ipconfig

A

Internet Protocol configuration
- shows IP address, Subnet Mask, and Default gateway for all adapters
(TCP/IP)

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

ipconfig/all

A

shows the description of each network connection along with additional information such as your physical (MAC) address, DHCP connections, Lease times, as well as in-depth IPv6 information.

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

ifconfig

A

(ipconfig for linux)
displays the current configuration for a network interface when no optional parameters are supplied

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

ip

A

(Linux, Unix)
used to show or manipulate routing, devices, and tunnels
(better than ifconfig)

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

nslookup

A

DNS info; find a host’s IP address or domain name
(DNS)(CNAME)
(on Linux, windows)

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

dig

A

(LINUX)
DNS info
like nslookup, but better

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

tracert

A

(WINDOWS)
determine hops taken along route; traces every hop
(ex router) (ICMP TTL)

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

traceroute

A

tracert but for LINUX

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

arp

A

address resolution protocol
-determine MAC address based on IP
(need hardware)

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

arp -a / arp -g

A

view local table for particular IP
(can also use arp -g)

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

arp -d (then IP)

A

delete an entry from the ARP table for a particular interface.

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

arp -s (then IP, and MAC address)

A

add static entry in ARP table

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

netstat

A

displays the contents of various network-related data structures for ACTIVE connections

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

netstat -a

A

show ALL active ports

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

netstat -b

A

show binaries

16
Q

netstat -n

A

do not resolve names (only IP addresses)

17
Q

netstat -r

A

view routing table
(where packets will go)
(linux, ,mac, windows)(like route print)

18
Q

hostname

A

displays the name of the current host system
(FQDN and IP)
(on many OS)

19
Q

route

A

allows you to make manual entries into the network routing tables.
(windows: route print)

20
Q

telnet

A

remote login to devices (NOT SECURE, SSH is)
can check IP and Port:
ex: (telnet 192.12.28.110 443)

21
Q

tcpdump

A

a packet analyzer that is launched from the command line
(linux, Mac, wimdows)

22
Q

nmap

A

Network Mapper
network exploration, host discovery, and security auditing
scan port, OS, service
(LINUX)

23
Q

show interface

A

displays statistics for the network interfaces

displays the status and configuration information for the ports within the switch

24
show config
displays all the configuration settings for the device that have been changed from the default settings
25
show route
used to display the IPv4 routing table of a router.