Here you can search and view our site Knowledge Base.
To find a specific article, use KB-article number format (ex. KB-1)

Article number: Article number: kb-35
Q. How to Eject/Close CD or DVD media with shell command?

A. Eject/Close CD or DVD

To eject media:
# eject /dev/cdrom
# eject cdrom

To close:
# eject -t cdrom

This page has been viewed 822 times

Other questions in this category Other questions in this category
1. How do I disable/stop firewall in Linux server? (viewed 890 times)
2. How to find CentOS memory usage? (viewed 863 times)
3. How Do I Find Out My Linux Gateway / Router IP Address? (viewed 778 times)
4. How Shutting Down and Reboot CentOS via SSH? (viewed 775 times)
5. How to work with ping command? (viewed 762 times)
6. In CentOS, how to find free disk space? (viewed 754 times)

Return to Search

Back to Top