Eject a dvd in command lines

A simple command to eject a DVD/ CD from the command line. To eject the DVD :

To close de drive :

That’s it.

Also tagged , , ,