fork download
  1. lshw -C network
  2. *-network
  3. description: Ethernet interface
  4. product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
  5. vendor: Realtek Semiconductor Co., Ltd.
  6. physical id: 0
  7. bus info: pci@0000:07:00.0
  8. logical name: eth0
  9. version: 06
  10. serial: f4:6d:04:64:57:18
  11. size: 10Mbit/s
  12. capacity: 1Gbit/s
  13. width: 64 bits
  14. clock: 33MHz
  15. capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
  16. configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
  17. resources: irq:52 ioport:d000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
  18. *-network
  19. description: Wireless interface
  20. physical id: 3
  21. bus info: usb@2:1.2
  22. logical name: wlan0
  23. serial: 00:4f:78:00:02:54
  24. capabilities: ethernet physical wireless
  25. configuration: broadcast=yes driver=rtl8187 driverversion=3.13.0-39-generic firmware=N/A ip=192.168.1.103 link=yes multicast=yes wireless=IEEE 802.11bg
  26.  
Runtime error #stdin #stdout #stderr 0.02s 5268KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.sh: line 1: lshw: command not found
prog.sh: line 2: *-network: command not found
prog.sh: line 3: description:: command not found
prog.sh: line 4: product:: command not found
prog.sh: line 5: vendor:: command not found
prog.sh: line 6: physical: command not found
prog.sh: line 7: bus: command not found
prog.sh: line 8: logical: command not found
prog.sh: line 9: version:: command not found
prog.sh: line 10: serial:: command not found
prog.sh: line 11: size:: command not found
prog.sh: line 12: capacity:: command not found
prog.sh: line 13: width:: command not found
prog.sh: line 14: clock:: command not found
prog.sh: line 15: capabilities:: command not found
prog.sh: line 16: configuration:: command not found
prog.sh: line 17: syntax error near unexpected token `('
prog.sh: line 17: `       resources: irq:52 ioport:d000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff'