Command Line Tools Flashcards

1
Q

ping

A

ping - Test reachability
• ping - Test reachability to a TCP/IP address
• ping -t - Ping until stopped with Ctrl-c
• ping -a - Resolve address to a hostname
• ping -n - Send # of echo requests
• ping -f - Send with Don’t Fragment flag set

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

traceroute

A

traceroute - Determine the route a packet takes to a destination
• Takes advantage of ICMP Time to Live Exceeded error message
• Not all devices will reply with ICMP Time Exceeded messages
• traceroute

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

nslookup and dig

A

nslookup and dig - Lookup information from DNS servers
• nslookup
• dig

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

ipconfig and ifconfig

A

ipconfig and ifconfig - View and manage IP configuration
• ipconfig - Windows TCP/IP config
• ipconfig /all - Display all IP configuration details
• ipconfig /release - Release the DHCP lease
• ipconfig /renew - Renew the DHCP lease
• ipconfig /flushdns - Flush the DNS resolver cache
• ifconfig - Linux interface configuration

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

iptables - Packet filtering

A

iptables - Packet filtering
• Linux iptables - filter packets in the kernel
• Simple data blocks - ignores state
• Usually placed on a device or server

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

netstat

A

netstat - Display network statistics
• netstat -a - Show all active connections
• netstat -b - Show binaries
• netstat -n - Do not resolve names
tcpdump
• Capture packets from the command line
• Available in most Unix/Linux operating systems
• Included with Mac OS X,
available for Windows (WinDump)
• Apply filters, view in real-time
• Written in standard pcap format
pathping - Combination of ping and traceroute
• pathping
Nmap
• Network mapper - find network devices
• Port scan - Find devices and identify open ports
• Operating system scan
• Discover the OS without logging in to a device
• Service scan
• What service is available on a device?
Name, version, details
• Additional scripts
• Nmap Scripting Engine (NSE)
route - View the device’s routing table
• route print - View the Windows routing table
arp - Address resolution protocol information
• arp -a - View the local ARP table
5.3 - Wired Network Troublesh

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

tcpdump

A
tcpdump
• Capture packets from the command line
• Available in most Unix/Linux operating systems
• Included with Mac OS X, 
available for Windows (WinDump)
• Apply filters, view in real-time
• Written in standard pcap format
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

pathping

A

pathping - Combination of ping and traceroute

• pathping

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

Nmap

A

Nmap

• Network mapper - find network devices

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

Port scan

A

Port scan - Find devices and identify open ports

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

Operating system scan

A
  • Operating system scan

* Discover the OS without logging in to a device

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

Service scan

A

• Service scan
• What service is available on a device?
Name, version, details

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

route

A

route - View the device’s routing table

• route print - View the Windows routing table

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

arp

A

arp - Address resolution protocol information

• arp -a - View the local ARP table

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