Playing with the CD-ROM tray

If you are on a desktop computer, try the following commands and have fun:

    $ eject

This command will eject the tray.

    $ eject -t

This command will close the tray.

For extra points, write a loop that opens and closes the tray a number of times. It goes without saying that one would never slip this into a co-workers .bashrc while they are out getting a coffee.