The command is:
lsblk | grep sd
Please click on the image below to enlarge it.
How to get the list of the hard drives in Linux (CentOS 7)Subcribe now to LUNLUN.com newsletter and you will get the cheatsheet "Top 10 Trigonometry Formulas" as a gift.
It is free to subscribe.
You may unsubscribe at any time.