Is there a way to get the information of a device in the terminal, providing only his location?
For example I whant to get /dev/sca product information, such as fabricant and model.
Usually i just go to /dev/by-id/ but i am working with some old ubuntu versions.
Solution
inxi --disk-full; hdparm -I /dev/sdb; smartctl -i /dev/sdb; udevadm info --query=all --name=/dev/sdb
sudo lshw
. It will list some hardware information.inxi --disk-full; hdparm -I /dev/sdb; smartctl -i /dev/sdb; udevadm info --query=all --name=/dev/sdb