101.1 Determine and configure hardware settings Flashcards

1
Q

What is a file system?

A

A file system is a method of laying off files and folders on a physical hard disk.

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

What creates a pseudo file system in the system?

A

A pseudo file system does not exist on a physical hard disk. It is created by the Linux Kernel.

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

When is a pseudo file system created?

A

It is created by the Linux Kernel after the computer boots.

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

Every process that runs on the system is associated with what?

A

Every process that runs on the system is associated with a PID (process ID)

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

What happens to a pseudo file system when the computer is rebooted?

A

It is wiped out while the computer is being turned off and then recreated once again when it boots up.

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

What type of information can be found in the pseudo file system called /sys?

A

/sys contains info about the hardware currently connected to the computer

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

In which pseudo file system can you find information related to the hardware and kernel info?

A

/sys

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

What can you see inside /proc ?

A

Within the /proc directory, you can see:

  • all processes that are running on the system
  • their specific directory
  • their process ID.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What type of kernel is the Linux Kernel?

A

The Linux kernel is a monolithic kernel.

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

What is the purpose of the Linux Kernel?

A

It provides a way for the resources of the system (CPU, RAM, networking capabilities, etc) to operate with the hardware that’s connected to it.

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

What does “monolithic kernel” mean?

A

It means that the kernel handles all memory management and hardware devices interactions.
It also means that extra functionality can be added dynamically through kernel modules.

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

What does “loading kernel modules dynamically” mean?

A

It means the monolithic kernel can load kernel modules without rebooting the system.

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

In what form do kernel modules come a lot of the time?

A

They may come in the form of third party device drivers.

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

Which is the basic command we can use to gather info about the kernel we are currently running?

A

uname

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

What output does #uname -m give us?

A

uname -m gives the machine architecture, such as x86_64 (64bit kernel)

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

Which command will display a listing of all currently loaded kernel modules?

A

lsmod

17
Q

What command gives you information about a specific kernel module?

A

modinfo

18
Q

Which command do you use to unload a kernel module?

A

modprobe -r

19
Q

Which command do you use to load a kernel module?

A

modprobe >kernel module name>

20
Q

Which flag of the uname command will give us the most info about the kernel?

A

uname -a

21
Q

What is the d-bus service?

A

It is the data bus service. It passes all information about everything that goes on within the system to other services and devices.

22
Q

What does udev do when a piece of hardware is connected to a computer?

A

The udev service detects the piece of hardware that has been connected and passes this information to the D Bus service.

23
Q

Where does hardware picked up by the udev service get added to?

A

It gets added to /dev

24
Q

What does /dev contain?

A

It contains information on all of the connected hardware on a system.

25
Q

What is the udev service?

A

It is the Linux device manager for the kernel. It links info on system hardware to /dev

26
Q

What does the lspci command display?

A

it displays info about PCI devices attached to a computer.

27
Q

Which command do you use to list the information on USB devices attached to a computer?

A

lsusb

28
Q

What command displays information on processors on a system?

A

lscpu

29
Q

What info can you find in the #lscpu command?

A

The architecture of the processor, the vendor, the model name, its speed.

30
Q

Which command would you use to see what hard disks are attached to the system?

A

lsblk

31
Q

What command will list out which components of the hardware are being used with which particular kernel module?

A

lspci -k

32
Q

Give examples of PCI (Peripheral Component Interconnect) devices

A

A PCI device is any piece of computer hardware that plugs directly into a PCI slot on a computer’s motherboard.
Example: Network, sound, video cards, wireless adapter.

33
Q

What directory does the lspci command query to get information about the PCI devices?

A

The /dev directory

34
Q

What is the Kernel Ring Buffer?

A

Area of RAM where the Kernel writes all of its system messages to.