![Linux Shell Scripting Cookbook(Third Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/161/36701161/b_36701161.jpg)
上QQ阅读APP看书,第一时间看更新
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.