Easy Tutorial
❮ Linux Comm Bzip2 Linux Comm Find ❯

Linux eject Command

Linux Command Manual

The Linux eject command is used to eject removable devices.

If the device is mounted, eject will first unmount it before ejecting.

Syntax

eject [-dfhnqrstv][-a <switch>][-c &lt;cdrom number>][device]

Parameter Description:

Examples

# eject // ejects by default without parameters
# eject -r /dev/cdrom // specifies the device

Linux Command Manual

❮ Linux Comm Bzip2 Linux Comm Find ❯