How to access/eject cd/dvd using command line please?

General support questions
Post Reply
Art11
Posts: 26
Joined: 2011/09/03 21:31:35

How to access/eject cd/dvd using command line please?

Post by Art11 » 2011/09/06 15:01:43

Hi,
How to access/eject dvd using command line/terminal please? Suppose I want to open/eject the dvd rom to insert the cd/dvd... How would i do this please? The problem is sometimes when i insert the cd/dvd the Linux does not detect it and clicking on the CD/DVD Drive icon does not make any diff...
In Windows one can access/click/eject the cd/dvd without inserting a disk into it. Is there a such thing in Linux 6?
Thank you very much.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

How to access/eject cd/dvd using command line please?

Post by gerald_clark » 2011/09/06 15:11:40

man eject

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: How to access/eject cd/dvd using command line please?

Post by Art11 » 2011/09/06 16:07:49

Thanks, but shows very long command description with options etc... Then I do not know how to get rid of this w/out closing the terminal. What do i do when scroll to the end of all displayed help options it shows (END). OK, END, and...?

eject -r - gives error: unable to find/open device...
eject -d - eject: default device: 'cdrom'

The question still remains - how to open/eject cd/dvd rom, empty or not? Need help with simple command to open the tray please.
Thank you very much.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: How to access/eject cd/dvd using command line please?

Post by gerald_clark » 2011/09/06 16:24:33

man man
man less

Teaching basic Linux is really not goal of this forum.

New users should read
http://www.centos.org/modules/newbb/viewforum.php?forum=47

-- Edit --
'eject' should open the tray
'eject -t' should close it.

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: How to access/eject cd/dvd using command line please?

Post by Art11 » 2011/09/06 16:40:02

Thank you. That's the whole point that eject SHOULD open the tray but it does not.
If this would work i would not ask for help...
And it should be easier to get rid of man w/out reading the manuals. Make Linux more friendly, please.
Thank you.

h_fat
Posts: 48
Joined: 2007/04/13 17:23:48

Re: How to access/eject cd/dvd using command line please?

Post by h_fat » 2011/09/06 17:25:41

I never read the man man. Hit the Q key (q as in quit works in many situations).

[quote]Teaching basic Linux is really not goal of this forum.

New users should read
http://www.centos.org/modules/newbb/viewforum.php?forum=47[/quote]
But your link doesn't ask new users not to post their basic question here nor does it point new users to some other place where their questions would be more appropriate. Please don't tell people off without at least providing an alternative!

Art, are you familiar with IRC? I don't know who hangs out on the #centos channel (I don't use it) but IRC is often a good place to get help. The more infomal setting and the real-time aspect may allow you (with some patience) to get a lot more out of it than answers to specific questions.

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: How to access/eject cd/dvd using command line please?

Post by Art11 » 2011/09/06 18:09:30

Thank you very much, h_fat. I will check out the IRC.

Post Reply