Console commands Flashcards

1
Q

sudo

A

Allows for superuser access

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

ifconfig

A

You can use the ifconfig command to assign an address to a network interface and to configure or display the current network interface configuration information

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

ipconfig

A

internet protocol config, provides the user with IP, subnet mask, and default gateway for each network adapter by default the /all option

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

route

A

defines the paths a data packet takes through networks
- Can also be used to add or remove routes. Used by local host to determine where to send traffic.

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

ping

A

verifies connectivity and latency
- Sends an internal control message protocol (ICMP) echo request to a host and listens for the reply.
- If the echo is received, it will display the time it took and the time to live (TTL) left.
- Useful for troubleshooting!

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

nslookup

A

helps resolve a name associated with an ip lookup

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

traceroute or tracert

A

used to trace a route an IP packet takes to a destination
- Displays each hop (next router) in a numerical list with the hop’s IP address and the time it takes to receive the packet
- traceroute for Linux or tracert for windows
- Need admin privileges

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

tracepath

A

can be used by a regular user, as opposed to a superuser
- Same as traceroute, but with regular privileges

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

whois

A

provides information on who a domain belongs to.
- Primarily used in Linux. Certain pieces of information are private.

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

ARP

A

Address resolution protocol displays the IP to physical (MAC) address mappings for hosts that have been discovered in the ARP cache
- The hosts must be connected to the local network

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

netstat

A

network statistics. displays information about active ports and their state and can be useful in troubleshooting

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

nslookup

A

name server lookup displays information for displaying DNS info and troubleshooting DNS problems. Useful for displaying names to IP address mappings.

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

dig

A

domain information groper is used for displaying DNS info and troubleshooting. Is a replacement for nslookup

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

scp

A

security copy protocol is used to securely copy files between servers leveraging SSH for authentication and encryption.

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

ftp

A

File transfer protocol copies the file from one host to another host. Uses TCP.

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

tftp

A

trivial file transfer protocol transfers a file from server to host or from host to server. It uses UDP instead of FTP so it is usually used on local networks.

17
Q

finger

A

displays information about a user or users on a remote system, including such things as last login and username. Primarily used on linux.

18
Q

nmap

A

Network mapper scans networks to see what it can find in terms of hosts and open ports. Commonly used to find vulnerabilities on a network. Nmap is not native to either windows or linux.

19
Q

tcpdump

A

Displays TCP/IP packets that are being transmitted over the network system. A form or protocol analyzer (sniffer) and is designed to show the contents of network packets in human readable form. Not native to linux or windows.

20
Q

telnet/ssh

A

allows a user to manage accounts and devices remotely. SSH is encrypted, telnet is not.