Hardware Inventory Controls Flashcards

Obj 1.2 (18 cards)

1
Q

What is the general purpose of hardware inventory commands?

A

To identify hardware components, provide info on internal/external devices, and determine system specs for management and troubleshooting.

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

Name the three main hardware inventory commands covered.

A

lspci, lsusb, lshw

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

What does the lspci command list?

A

All PCI-connected hardware devices (graphics cards, network adapters, sound cards, etc.).

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

What lspci option provides a structured, tree-view output?

A

-tv

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

In lspci -tv output, what does a “+-“ symbol indicate?

A

The hierarchy and connection between devices.

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

What does the lsusb command list?

A

All connected USB devices (keyboards, mice, flash drives, webcams, etc.).

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

In lsusb output, what does the “ID” field represent?

A

The vendor ID and product ID for the USB device.

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

In the ID 046d:c52b, what does 046d represent?

A

The manufacturer ID (e.g., Logitech).

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

In the ID 046d:c52b, what does c52b represent?

A

The product code for the specific device.

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

What is the primary use of the lsusb command?

A

Checking device recognition and troubleshooting USB issues.

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

What command provides a detailed report on ALL hardware components?

A

lshw (lists info from lspci/lsusb plus memory, CPU, storage, network)

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

What lshw option provides a truncated, summary view of the hardware?

A

-short

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

Why is sudo typically required for the lshw command?

A

To access detailed and complete hardware information that requires root privileges.

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

In lshw output, what does the “H/W path” column show?

A

The hardware hierarchy of the component.

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

In lshw output, what does the “Class” column do?

A

It categorizes the hardware by type (e.g., system, memory, processor, disk).

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

Which command would you use to troubleshoot a graphics card not being detected?

A

lspci (to see if it’s listed on the PCI bus)

17
Q

Which command is best for verifying if the system recognizes a newly plugged-in USB printer?

18
Q

Which command gives the most comprehensive overview of the entire system’s hardware?