Linux Flashcards

1
Q

What does ‘ifconfig’ do?

A

Displays IP configuration information.

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

What does ‘ip’ command provide?

A

Network interface and configuration information.

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

What information does ‘iwconfig’ display?

A

Wireless network information.

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

What is the purpose of ‘dig’?

A

Displays DNS information.

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

What does ‘ps’ command show?

A

Displays currently running processes.

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

What does ‘top’ command do?

A

Displays running processes in real-time.

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

What is the function of ‘kill’?

A

Force closes an application.

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

What does ‘shutdown’ command do?

A

Restarts or shuts down the system.

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

What is ‘vi’?

A

A text editor for Linux.

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

What does ‘dd’ command perform?

A

Disk duplication.

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

What is the purpose of APT commands?

A

For installing, updating, and removing programs.

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

What type of distribution is Red Hat?

A

A Red Hat-based distribution.

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

Name a Red Hat-based distribution.

A

CentOS or Fedora.

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

What is the package management system for Red Hat?

A

YUM.

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

How do you install a package using YUM?

A

Use the command ‘yum install packagename’.

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

What type of distributions are Ubuntu and Kali?

A

Debian-based Linux distributions.

17
Q

What is the package management system for Debian-based distributions?

18
Q

How do you update packages using APT?

A

Use the command ‘apt-get update’.

19
Q

How do you install a package using APT?

A

Use the command ‘apt-get install’.

20
Q

What type of distribution is Arch?

A

Arch-based distribution.

21
Q

What is the package manager for Arch-based distributions?