Hi friends,
Can anybody tells, in linux, from where we can get the information of connected device (like Harddisk, Tape Drive etc) in linux machine ??

Recommended Answers

All 3 Replies

you can use the "lspci" cmmand for cards, dont know about drives

I use kubuntu to experiment and in /system/advanced (tab on top of window/ youcan go to file or to system etc and then anywhere formthere!
best O L
M

Hi friends,
Can anybody tells, in linux, from where we can get the information of connected device (like Harddisk, Tape Drive etc) in linux machine ??

Several ways:

- You can find various information about devices and their connected status in /proc . In particular, look at /proc/devices , which lists character and block devices that have been detected.

- dmesg will print out the message buffer of the kernel, which includes detected hardware. Pipe it to 'less' or 'tail' for easier reading.

- lspci and lsusb will provide information about connected PCI and USB devices/controllers, respectively. Note that these commands simply reformat the information found in the /proc filesystem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.