I want to write simple linux script which will display what are the real size of installed hard drive. If there is 128GB SSD, lsblk shows less than 128. I need to check the real size of memory and print it like this: 128GB installed = script gives output
128
If there are two hard drives installed, it gives output
128/512
It should work on both sata and nvme drives