YouTip LogoYouTip

Linux Comm Eject

# Linux eject command [![Image 3: Linux Command Reference](#) Linux Command Reference](#) The Linux eject command is used to eject removable media. If the device is mounted, eject will first unmount it before ejecting. ### Syntax eject **Parameter Description**: * The device can be a driver name or a mount point. * -a or --auto Controls the auto-eject feature of the device. * -c or --changerslut Selects a drive from a changer. * -d or --default Displays the default device without performing the action. * -f or --floppy Ejects the floppy disk. * -h or --help Displays help. * -n or --noop Displays the specified device. * -q or --tape Ejects the tape. * -r or --cdrom Ejects the CD-ROM. * -s or --scsi Ejects the device using SCSI commands. * -t or --trayclose Closes the CD-ROM tray. * -v or --verbose Displays detailed information during execution. ### Examples # eject //Ejects the default device without parameters# eject -r /dev/cdrom //Specifies the device [![Image 4: Linux Command Reference](#) Linux Command Reference](#)
← Linux Comm McdLinux Comm Edquota β†’