From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Exploring system hardware

Exploring system hardware - Linux Tutorial

From the course: Linux Tips

Exploring system hardware

- Let's take a look at how to find the hardware information on a Linux system. This can be useful for troubleshooting or for exploring a system to see how its hardware is configured. The system shows us all sorts of information about the hardware it has through the dev and sys virtual file systems. sysfs contains a representation of information about the kernel. And devfs provides special files or device files where we can interact with hardware. These allow us to browse hardware information as though it were a directory tree. I'll move into dev here and take a look at what's listed. Here I can see devices like serial disk A, the first partition on serial disk A, the standard error standard in and standard out streams, a CD ROM, a number of loop file systems, TTY devices and more. I won't go into the details of these virtual file systems here. And if you're curious to learn more about how they work, be sure…

Contents