From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Determine hardware resources

Determine hardware resources - Linux Tutorial

From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Start my 1-month free trial

Determine hardware resources

- [Instructor] One of the things I like about Linux is that it doesn't hide anything from the user. It's true that if you use it as a desktop OS, you're shielded from the details underneath, however, that data is accessible just by opening a terminal. Let's talk about how to find information on your hardware resources. The first tool we'll talk about is ls hardware. It's installed by default, so type in sudo lshw into a terminal, and hit Enter. Enter your password if prompted. This tool displays a lot of useful information that takes a while to go through. Let's look at the man page to see if we can narrow it down a bit. Type in man lshw and hit Enter. We see here that we can specify subsystems, but we have to do it by specifying the device class. You'll see a list of classes, let's get the short output. Type in q to quit and then type in clear. Now type in sudo lhsw -short, there's one dash, and…

Contents