Command Line Flashcards
1
Q
ping command
A
Test reachability to a TCP/IP address
2
Q
ping -t command
A
Ping until stopped with Ctrl-c
3
Q
ping -a command
A
- Resolve address to a hostname
4
Q
ping -n command
A
- Send # of echo requests
5
Q
ping -f command
A
- Send with Don’t Fragment flag set
6
Q
ipconfig command
A
- Windows TCP/IP config
7
Q
ipconfig /all command
A
- Display all IP configuration details
8
Q
ipconfig /release command
A
- Release the DHCP lease
9
Q
ipconfig /renew command
A
- Renew the DHCP lease
10
Q
ipconfig /flushdns command
A
- Flush the DNS resolver cache
11
Q
ifconfig command
A
- Linux interface configuration
12
Q
ip command
A
- The latest Linux/ MacOs utility to get ip configurations
13
Q
nslookup command
A
- Windows Lookup information from DNS servers.
14
Q
dig command
A
Linux/MacOs Lookup information from DNS servers.
15
Q
traceroute command
A
- Linux/MacOs. Determines the route a packet takes to a destination.
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.