Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

37
linux/eject Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# eject
> Eject cds, floppy disks and tape drives.
> More information: <https://manned.org/eject>.
- 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 a cd drive:
`eject -r {{/dev/cdrom}}`
- Eject a floppy drive:
`eject -f {{/mnt/floppy}}`
- Eject a tape drive:
`eject -q {{/mnt/tape}}`