2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/eject

20 lines
358 B
Plaintext
Raw Normal View History

2017-06-04 14:35:24 +00:00
# eject
# eject removable media
# You can also close the tray using certain options.
# Eject any available device
# CD-ROM, floppy disk, tape, or JAZ or ZIP disk
eject
# Eject a device by its name
eject /dev/cdrom
# Close the tray using eject command
eject -t
# Lock the hardware eject button
eject -i on
# Unlock the hardware eject button
eject -i off