where is the hardware information of linux machine stored
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The /proc directory is a virtual file system that the kernel uses to communicate with you about the state of a process/program, and gives info about that process/program (so it's not just about devices) The processes/programs are the numbers displayed and to view info about it type ls number. If you type cat devices while in that directory it will list your block and character devices. Block devices are devices that read/write data in a bulk fashion such as USBs, HDDs, CDROMS etc, and character devices read/write data in a character by character fashion such as keyboards, mouses, serial printers etc.. The ls commands that rkelsen mentioned are also very helpful.
Last edited by linux4evr5581; 10-01-2016 at 04:29 AM.
/etc/passwd is where user information is stored. /etc/home is personal space where all your personal downloads pictures etc go.. /etc/var is where info about variables on the system that are constantly changing are located
Last edited by linux4evr5581; 10-01-2016 at 04:36 AM.
as i am a beginner i need some time to expertise my search skills.
any way thanks.
Go get download this free tutorial, it teaches you the basic structure of Gnu/Linux and it guides you how to run it. It is old yes, but the author evidently knows what to write and how to write it for the newbies. Open it in pdf-reader, any topic you need to know press Ctl+F write-on the topic then Enter. At least the book may provide you a hint where to begin.
LQ is not the right place to begin for homework. This is a user help forum; for those who are using and facing obstacles in their usage. For *teaching* purposes you are aware whom you are paying to for that purpose.
I also suggest that you consider rereading LQ Rules so that you do not violate any rules;
Do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and searches) and we'll do our best to help. Keep in mind that your instructor might also be an LQ member.
It depends on what you meadn by "stored." Most hardware information is determined by probing when the system boots or devices are hotplugged. For the most part, that information is kept in kernel structures that can be read via the /proc and /sys interfaces, and isn't permanently stored anywhere. For a few devices, information is persistently stored in the /etc/udev/rules.d/*persistent* files. That is primarily done so that devices like network interfaces and CD/DVD drives can get consistent names.