# Retrieve disk information

## Table of contents <!-- omit in toc -->

1. [TL;DR](#tldr)
1. [Further readings](#further-readings)

## TL;DR

```sh
lshw -class disk
smartctl -i /dev/sda
hdparm -i /dev/sda
hwinfo --disk
ls /dev/disk/by-id
```

## Further readings

- [Retrieve disk info from the command line]

<!--
  References
  -->

<!-- Others -->
[retrieve disk info from the command line]: https://www.linuxjournal.com/content/tech-tip-retrieve-disk-info-command-line
