//View Tip #632
Similar Tips
» Reverse geocode with bash
» Stream YouTube videos directly to your media player
» Scripting Lynx for automated web actions
» Backup delicious bookmarks


Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
The command below uses the debian device driver check and report service at http://kmuto.jp/debian/hcl/index.cgi to give a report on your PCI devices.

As it mentions on the site:
* This database uses the PCI map of Debian kernel 2.6.29-1-686.
* The result does NOT guarantee your hardware works perfectly.
* This database only verifies the PCI devices at this time. X drivers, ISA, USB, IEEE1394 or any other devices are out of the focus.

curl --silent -d "check=Check&lspci=$(lspci -n)" http://kmuto.jp/debian/hcl/index.cgi | \
sed -n '/<table>/,/<\/table>/ p' | lynx -stdin

View Comments »


Add your comment

Comments are currently disabled
Noah Spurrier
Piping through `w3m` instead of `lynx` will print better tables:

curl --silent -d "check=Check&lspci=$(lspci -n)" http://kmuto.jp/debian/hcl/index.cgi | sed -n '/<table>/,/<\/table>/ p' | w3m  -T text/html
Posted 2009-10-16 15:58:30

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit