Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-22-2009, 05:01 AM   #1
sumeet inani
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
How to eject & close cdrom with command not manually by pressing button

I am using openSUSE 10.3 .Some small utilities like tooler are available in windows which allow you to eject or close a particular cdrom drive through double click without need to press hardware button.Are there any coomands or application in linux to do the same.
Old 06-22-2009, 05:32 AM   #2
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 38
Old 06-22-2009, 06:29 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
man eject.

eject will eject the drive. eject -t will close it.
eject -T will toggle the drive.(open it if closed and close if it is already open).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
when i use right click and then choose eject button eject: unable to open `/dev/hda' sanatkrtiwari86 Linux - Newbie 3 12-02-2008 05:10 AM
Eject CD/DVD Media using Eject Button - Hal/Udev help v00d00101 Linux - Hardware 4 03-17-2008 03:04 PM
Unmount and Eject with CD-Rom Eject Button? CrownAmbassador Linux - Hardware 3 12-26-2006 08:45 PM
bash command for cdrom eject? hexadevil Linux - Newbie 5 06-02-2004 04:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration