Chapter 9. Controlling the system

Table of Contents
9.1. Mounting and Unmounting (Floppy/CDROM/Hard-drive Partitions)
9.2. Shutting Down/Rebooting the System
9.3. Controlling Processes
9.4. Controlling services

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) the drive. 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

NoteThis 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.