Checking CD-ROM status with Bash 2020-09-05Tech Running Python, Ruby, and Perl from one Bash script to detect the CD-ROM drive tray status using Linux ioctl.