Network Commands Flashcards

1
Q

What does the command Ping do?

A

Sends ICMP echo request to a host & listen for a reply

If reply is received, displays this, if not will get a timeout message

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

What does the command Traceroute/tracecert do?

A

Displays each hop (router) in a numerical list

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

What can the ping command be used for?

A

Good for measuring latency and troubleshooting connectivity with other devices

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

What is the command traceroute/tracecert used for? Which one is used for Linux vs Windows?

A

Traceroute/tracert is used to trace the route an IP packet takes to a destination.
This can be used to determine where a ping fails.

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

What does ipconfig do?

A

Provides the user with the IP, subnet mask, and default gateway for each network adapter by default with the /all option information.

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

What is ipconfig used for?

A

Used to release all connections and renew all adapters. This is primarily used on windows

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

What does ifconfig do?

A

Similar to ipconfig, ifconfig used to configure kernel network interfaces.

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

What is ifconfig used for?

A

once interfaces are configured, used for debugging or tuning the system.

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

What does arp do?

A

displays and modify entries int eh Address resolution protocol cache. Displays the IP to physical MAC address mappings.

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

What does netstat do?

A

displays info about active ports and their state

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

What is netstat used for?

A

useful in troubleshooting and capacity management

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

what does nslookup do?

A

name server lookup which displays DNS info

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

What is nslookup used for?

A

Troubleshooting DNS problems

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

dig
What does it stand for?
What does it do?
Why use it?

A

Domain information groper.
queries the DNS name server
useful for troubleshooting DNS problems

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

whois
What does it do?
Why use it?

A

whois is used to lookup who owns a domain or block of IP addresses.
This includes the name, email address and physical address

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

route
what does it do?
why use it?

A

Used to display the current route tables on a host

Can be used to determine where to send traffic

17
Q

scp
What does it stand for?
What does it do?
Why use it?

A

scp = secure copy protocol

used to securely copy files between servers and leverages SSH for authentication and encryption

18
Q

ftp
What does it stand for?
What does it do?
Why use it?

A

ftp = file transfer protocol
copies file from one host to another, data is unencrypted
FTPS uses SSL/TSL for encryption
Transfer uses TCP for reliability

19
Q

tftp
What does it stand for?
What does it do?
Why use it?

A

trivial file transfer protocol

transfers a file from either a client to a server or from a server to client using UDP instead of TCP

20
Q

finger
What does it do?
Why use it?

A

displays info about a user or users on a remote system

includes thing such as last log-in time and username

21
Q

nmap
What does it do?
Why use it?

A

network mapper
scans network to see what it can find in terms of hosts and open ports
used to determine what is deployed on a network for vulnerability analysis, security scans and related activities.
not related to windows or Linux but can be downloaded

22
Q

tcpdump
What does it do?
Why use it?

A

displays tcp/ip packets and other network packets that are being transmitted over the network.
its a form or protocol analyzer and designed to show the contents of network packets in a human-readable form (for troubleshooting and security analysis)

23
Q

telnet/ssh
What does it do?
Why use it?

A

allows user to manage accounts and devices remotely

ssh is encrypted and thus all data is secure from eavesdropping while telnet is unencrypted