🖥️eject

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the eject command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#  ███████╗     ██╗███████╗ ██████╗████████╗
#  ██╔════╝     ██║██╔════╝██╔════╝╚══██╔══╝
#  █████╗       ██║█████╗  ██║        ██║   
#  ██╔══╝  ██   ██║██╔══╝  ██║        ██║   
#  ███████╗╚█████╔╝███████╗╚██████╗   ██║   
#  ╚══════╝ ╚════╝ ╚══════╝ ╚═════╝   ╚═╝   

# 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
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░