Networking & Remote Access Flashcards

1
Q

What does the command ifconfig do?

A

Show network configuration (deprecated, use ip a)

ifconfig is considered deprecated in favor of the ip command.

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

What is the purpose of the command ip a?

A

Show IP addresses and network interfaces

This command provides detailed information about network interfaces and their configurations.

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

What does the ping <host> command do?</host>

A

Test network connection to a host

Ping is used to check the reachability of a host on an Internet Protocol (IP) network.

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

How do you connect to a remote machine via SSH?

A

ssh user@ip

SSH (Secure Shell) is a protocol used to securely access and manage network devices.

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

What is the command to securely copy a file to a remote machine?

A

scp <file> user@ip:/path/</file>

SCP (Secure Copy Protocol) allows for secure file transfer between hosts on a network.

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