Eject/Close CD or DVD media with shell command
Shell command eject that is available by default in most of Linux distributions, allows to open and sometimes close removable media tray (usually it’s CD-ROM or DVD media). To eject media: eject /dev/cdrom or eject cdrom As you see the name of device can be a device file or mount point, either a full path or with the leading “/dev”, “/media” or “/mnt” omitted. If no name is specified, the [...]
Read more →