eject
Eject cds, floppy disks and tape drives.
- Display the default device:
eject -d
- Eject the default device:
eject
- Eject a specific device (the default order is cd-rom, scsi, floppy and tape):
eject {/dev/cdrom}
- Toggle whether a device's tray is open or closed:
eject -T {/dev/cdrom}
eject -r {/dev/cdrom}
eject -f {/mnt/floppy}
eject -q {/mnt/tape}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).