---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# hwinfo

> Probe for the hardware present in the system.
> More information: <https://manpages.opensuse.org/hwinfo/hwinfo.8.en.html>.

- Get graphics card information:

`hwinfo --gfxcard`

- Get network device information:

`hwinfo --network`

- List disks and CD-ROM drives, abbreviating the output:

`hwinfo --short --disk --cdrom`

- Write all hardware information to a file:

`hwinfo --all --log {{path/to/file}}`

- Display help:

`hwinfo --help`
