Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Chapter 9. Controlling the system

The controlling the system chapter details commands that you may wish to use to interact with devices on your system and then details how to control processes and services/daemons.


eject simply tells a device to open (eject). Useful for cdrom/DVD drives.

For example the command below would eject the cdrom-drive (if your cdrom is linked to /dev/cdrom):

eject /dev/cdrom
Note This won't work unless

This will only work if the user has permission to mount the partition. Please see the tip in Section 9.1 for more information.

  Published under the terms of the GNU General Public License Design by Interspire