Automatically Open And Close CD/DVD Tray Through Linux Mint / Ubuntu Terminal

Here is something fun to do using Linux Terminal – automatically open and close the CD/DVD tray all through a couple of commands. The command to open the tray is : eject The command to close the tray is : eject -t In fact, let’s try to do something awesome, make a shell script that will open and close the CD/DVD tray say 3 times when the script is run. [Note  : don’t try to do...