Some Useful Instructions
To uncover information about your CD or DVD drive, in the Terminal enter:
This will return details about your device manufacturer, model, the type of hardware and other information such as its read and write capabilities.
The cd-info command returns a lot of information; for basic details, try
Finally you might also be interested in scanning the buses to detect what devices are attached to your computer. This can be done with the command:
This command returns information about storage devices on various buses on your system.
Other hardware can also be interrogated in this way. You can view the available and used space on your hard disk drive with the hdparm command:
hdparm –i /dev/had
(many hdparm commands are available and these can be all viewed by typing hdparm -i).
Similarly you might want to observe partition information, available thanks to this command:
sudo parted /dev/sda/ u s p
These commands are just the tip of the iceberg of what is possible in the Terminal.