How to identify the driver of a device working in Linux (RHEL 5) ??

If you're referring to kernel drivers (modules), you can list the currently loaded modules with lsmod .

basically the commands are:
lsmod
lspci
lsusb
dmesg
cat /proc/scsi/scsi
and quite a few others, all depends on the device in question

sysreport command in RHEL will gather all hardware and OS related information in a single file

Thanks for the reply...
but how to identify if the plugged in device has the driver in the system? for example where is the USB pen drives' driver located for it to operate??

the simplest thing:
before you insert the pendrive

lsusb > before_usb.txt
ls -al /dev/* > dev_before.txt

insert the pendrive, do the same command to another file prefixed by after_
use diff to compare files to see how the pendrive was detected

Thanks for the reply DimaYasny :)

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.